django-blog-for-html-over-t.../Dockerfile

17 lines
337 B
Docker
Raw Permalink Normal View History

2022-05-15 20:58:36 +02:00
# Image
FROM python:3.10
# Display the Python output through the terminal
ENV PYTHONUNBUFFERED: 1
# Set work directory
WORKDIR /usr/src/app
# Add Python dependencies
## Update pip
RUN pip install --upgrade pip
## Copy requirements
COPY requirements.txt ./requirements.txt
## Install requirements
RUN pip3 install -r requirements.txt