1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/cmd/updater/Dockerfile
2019-05-26 16:19:17 -07:00

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"]