mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
9e6390662b
We can't bake the font into the Docker image as such, because we mount the volumes which blows away anything we have in the app tree beforehand. We could stash it somewhere in the image and then copy it from there on app startup or something, but at that point we might as well just download it as part of the app startup.
10 lines
174 B
Docker
10 lines
174 B
Docker
FROM python:3.9
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /app /app/static /app/images
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/
|
|
RUN pip install -r requirements.txt --no-cache-dir
|