forked from mirrors/bookwyrm
Pin Python 3.9 and give dockerfile a little breathing room
This commit is contained in:
parent
ca1aa1f70f
commit
3056441b50
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue