mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-21 23:56:34 +00:00
31deb36c85
Needed to prevent connection errors if the password contains non-urlsafe characters. Dockerfile change because all the services using it are mirroring ./ in /app now anyway. Flower needs because it needs bookwyrm in order to read the celerywyrm config (because flower only allows overwriting broker_url from the command line and we want to do it in Python so we have access to a urlencode function).
11 lines
257 B
Docker
11 lines
257 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 && apt-get clean
|