HBLink3/Dockerfile
M0VUB 4a206af751
Update Dockerfile
Upgrade python version to 3.10
2022-05-17 01:33:19 +01:00

18 lines
436 B
Docker
Executable File

FROM python:3.10-alpine
COPY entrypoint /entrypoint
RUN adduser -D -u 54000 radio && \
apk update && \
apk add git gcc musl-dev && \
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" ]