mirror of https://github.com/snachodog/mybuddy.git
Pin Docker build to Python 3.8
This commit is contained in:
parent
3f1a7d9a9d
commit
389211de22
|
@ -1,8 +1,9 @@
|
||||||
FROM python:3 as app
|
FROM python:3.8-slim as app
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
RUN pip install --upgrade pipenv gunicorn
|
RUN pip install --upgrade pipenv gunicorn
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Pipfile /app/
|
COPY Pipfile /app/
|
||||||
|
RUN pipenv lock
|
||||||
RUN pipenv install --deploy --system
|
RUN pipenv install --deploy --system
|
||||||
ADD manage.py /app/
|
ADD manage.py /app/
|
||||||
ADD api /app/api
|
ADD api /app/api
|
||||||
|
|
Loading…
Reference in New Issue