mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
b3603c04c5
Because pylint requires the app to be fully parseable with all its dependencies, we run it in the web container, and add pylint as a dev dependency.
15 lines
351 B
Docker
15 lines
351 B
Docker
FROM python:3.9
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /app /app/static /app/images
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y gettext libgettextpo-dev tidy && apt-get clean
|
|
|
|
COPY requirements.txt /app/
|
|
RUN pip install -r requirements.txt --no-cache-dir
|
|
|
|
COPY requirements.dev.txt /app/
|
|
RUN pip install -r requirements.dev.txt --no-cache-dir
|