mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-24 08:48:48 -05:00
50d2a25de0
Purge cache
20 lines
503 B
Docker
Executable File
20 lines
503 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 && \
|
|
pip cache purge && \
|
|
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" ]
|