mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
13 lines
245 B
Docker
13 lines
245 B
Docker
FROM python:alpine3.7
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
|
|
RUN pip3 install --no-cache-dir --requirement requirements.txt --target /app && \
|
|
addgroup -g 1000 -S app && adduser -u 1000 -G app -S app
|
|
|
|
USER app
|
|
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["-u", "main.py"]
|