Commit a27750e1 authored by David Foucher's avatar David Foucher

Fix logrotate with web and trefle container

parent b0ad2ad0
Pipeline #3492 passed with stages
in 7 minutes and 12 seconds
......@@ -29,10 +29,11 @@ COPY trefle/srv/authorisations.csv ./authorisations.csv
COPY trefle/start.sh .
# setup virtualenv
# setup virtualenv + permission
RUN pip install pip -U && \
pip install gunicorn && \
pip install git+${TREFLE_GIT}@${TREFLE_VERSION}
pip install git+${TREFLE_GIT}@${TREFLE_VERSION} && \
chmod 600 /etc/logrotate.d/gunicorn
#start
ENTRYPOINT ./start.sh
......@@ -11,7 +11,7 @@ RUN git clone -b ${TREFLE_BACK_VERSION} ${TREFLE_GIT} /srv/trefle && \
npm run build
FROM ubuntu:xenial
FROM ubuntu:bionic
LABEL maintainer="labonneformation@pole-emploi.fr"
......@@ -26,6 +26,7 @@ RUN apt-get update && apt-get -y install \
vim \
bzip2 \
cron \
rsyslog \
logrotate \
iptables \
git \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment