12 lines
255 B
Docker
12 lines
255 B
Docker
FROM python:3.10
|
|
|
|
RUN adduser --disabled-password --gecos "" python
|
|
ENV PATH="/home/python/.local/bin:$PATH"
|
|
|
|
USER python
|
|
|
|
COPY *.py requirements.txt /
|
|
RUN pip --disable-pip-version-check install -r requirements.txt
|
|
|
|
ENTRYPOINT ["python", "-u", "run.py"]
|