juggl/backend/Dockerfile
2021-12-21 22:45:28 +01:00

12 lines
No EOL
295 B
Docker

FROM python:3.10
WORKDIR /usr/src/app
# Install requirements before copying the rest of data to make use of docker's cache layers
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy files from host to workdir in container
COPY . .
CMD ["python", "src/main.py"]