mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-10-02 09:46:37 -04:00
Update Dockerfile
Update docker
This commit is contained in:
parent
dfb7d8824d
commit
c37d2d710e
23
Dockerfile
23
Dockerfile
@ -17,20 +17,21 @@
|
||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
###############################################################################
|
||||
|
||||
FROM python:alpine3.17
|
||||
FROM python:alpine3.18
|
||||
|
||||
COPY entrypoint /entrypoint
|
||||
|
||||
RUN adduser -D -u 54000 radio
|
||||
RUN apk update && \
|
||||
apk add git gcc musl-dev libffi-dev openssl-dev cargo && \
|
||||
pip install --upgrade pip && \
|
||||
pip cache purge && \
|
||||
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
||||
cd /hbmon && \
|
||||
pip install --no-cache-dir -r requirements.txt && \
|
||||
apk del git gcc musl-dev && \
|
||||
chown -R radio /hbmon
|
||||
RUN adduser -D -u 54000 radio && \
|
||||
apk update && \
|
||||
apk add git gcc musl-dev && \
|
||||
pip install --upgrade pip && \
|
||||
pip cache purge && \
|
||||
cd /opt && \
|
||||
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
||||
cd /hbmon && \
|
||||
pip install --no-cache-dir -r requirements.txt && \
|
||||
apk del git gcc musl-dev && \
|
||||
chown -R radio: /hbmon
|
||||
|
||||
USER radio
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user