mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2025-08-05 14:42:27 -04:00
Create Dockerfile
Add Dockerfile
This commit is contained in:
parent
bddd08c514
commit
42e7d76b9f
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM python:3.10-alpine
|
||||||
|
|
||||||
|
COPY entrypoint-proxy /entrypoint
|
||||||
|
|
||||||
|
RUN adduser -D -u 54001 hbmon && \
|
||||||
|
apk update && \
|
||||||
|
apk add git gcc musl-dev libffi-dev libssl-dev cargo && \
|
||||||
|
cd /opt && \
|
||||||
|
git clone https://github.com/ShaYmez/HBMonv2.git && \
|
||||||
|
cd /opt/HBmonv2 && \
|
||||||
|
pip install --no-cache-dir -r requirements.txt && \
|
||||||
|
apk del git gcc musl-dev && \
|
||||||
|
chown -R radio: /opt/HBMonv2
|
||||||
|
|
||||||
|
USER hbmon
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/entrypoint" ]
|
Loading…
x
Reference in New Issue
Block a user