HBLink3/Dockerfile
M0VUB 148b346e84
Update Dockerfile
Bump up python version to the latest. alpine 3.17
2022-12-15 17:05:23 +00:00

18 lines
435 B
Docker
Executable File

FROM python:alpine3.17
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" ]