mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-15 20:51:54 -05:00
e127be562d
Add Dockerfile
18 lines
435 B
Docker
18 lines
435 B
Docker
FROM python:3.9-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" ]
|