Pin Python 3.9 and give dockerfile a little breathing room

This commit is contained in:
Jim Fingal 2020-11-07 18:25:31 -08:00
parent ca1aa1f70f
commit 3056441b50

View file

@ -1,10 +1,15 @@
FROM python:3 FROM python:3.9
ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED 1
RUN mkdir /app RUN mkdir /app
RUN mkdir /app/static RUN mkdir /app/static
RUN mkdir /app/images RUN mkdir /app/images
WORKDIR /app WORKDIR /app
COPY requirements.txt /app/ COPY requirements.txt /app/
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
COPY ./bookwyrm /app COPY ./bookwyrm /app
COPY ./celerywyrm /app COPY ./celerywyrm /app