Pin Docker build to Python 3.8

This commit is contained in:
Christopher C. Wells 2020-12-02 20:42:06 -08:00
parent 3f1a7d9a9d
commit 389211de22
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
FROM python:3 as app
FROM python:3.8-slim as app
ENV PYTHONUNBUFFERED 1
RUN pip install --upgrade pipenv gunicorn
WORKDIR /app
COPY Pipfile /app/
RUN pipenv lock
RUN pipenv install --deploy --system
ADD manage.py /app/
ADD api /app/api