зеркало из https://github.com/mozilla/kitsune.git
fix import of cairosvg when using prod image (#5857)
This commit is contained in:
Родитель
4d8a51366c
Коммит
f7eeec584b
|
@ -21,7 +21,7 @@ RUN set -xe \
|
|||
&& apt-get install -y --no-install-recommends \
|
||||
gettext build-essential \
|
||||
libxml2-dev libxslt1-dev zlib1g-dev git \
|
||||
libjpeg-dev libffi-dev libssl-dev libxslt1.1 \
|
||||
libjpeg-dev libcairo2-dev libffi-dev libssl-dev libxslt1.1 \
|
||||
optipng postgresql zip \
|
||||
# python
|
||||
&& python -m venv /venv \
|
||||
|
@ -103,7 +103,7 @@ COPY --chown=kitsune:kitsune . .
|
|||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
libxslt1.1 optipng postgresql && \
|
||||
libcairo2 libxslt1.1 optipng postgresql && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /app/media && chown kitsune:kitsune /app/media
|
||||
|
|
Загрузка…
Ссылка в новой задаче