1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 18:28:07 +02:00
awesome-compose/django-postgres/Dockerfile

16 lines
286 B
Text
Raw Normal View History

# Pull base image
FROM python:3.8
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Set work directory
WORKDIR /code
# Install dependencies
COPY requirements.txt /code/
RUN pip3 install -r requirements.txt --no-cache-dir
# Copy project
COPY . /code/