HBLink3/Dockerfile
M0VUB de42de5245
Update Dockerfile
Fix bug in Dockerfile
2023-05-25 18:46:36 +01:00

19 lines
474 B
Docker
Executable File

FROM python:alpine3.18
COPY entrypoint /entrypoint
RUN adduser -D -u 54000 radio && \
apk update && \
apk add git gcc musl-dev && \
pip install --upgrade pip && \
cd /opt && \
git clone https://github.com/ShaYmez/hblink3 && \
cd /opt/hblink3 && \
pip install --no-cache-dir -r requirements.txt && \
apk del git gcc musl-dev && \
chown -R radio: /opt/hblink3
USER radio
ENTRYPOINT [ "/entrypoint" ]