imgin/Dockerfile

10 lines
236 B
Docker
Raw Permalink Normal View History

2021-10-03 06:45:59 +00:00
FROM python:latest
RUN adduser imgin
USER imgin
WORKDIR /home/imgin/
COPY requirements.txt /home/imgin/
RUN pip install --user -r requirements.txt
COPY run.py /home/imgin/
COPY imgin/ /home/imgin/imgin
ENTRYPOINT [ "python", "run.py" ]