2024-01-21 10:38:05 +01:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
COPY main.py requirements.txt ./
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
2024-01-22 00:10:29 +01:00
|
|
|
USER 1000:1000
|
|
|
|
|
2024-01-21 10:38:05 +01:00
|
|
|
CMD ["python", "./main.py"]
|