mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 18:11:09 +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.
11 lines
262 B
Docker
11 lines
262 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
|
|
RUN apt-get update && apt-get install -y gettext libgettextpo-dev tidy && apt-get clean
|