Update Dockerfile

This commit is contained in:
Lukas M 2018-12-30 21:44:05 +01:00 committed by GitHub
parent 5567bb2eaa
commit 3901571685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ ENV gid 1337
ENV user lemur ENV user lemur
ENV group lemur ENV group lemur
COPY entrypoint / COPY entrypoint /
COPY lemur.conf.py /conf/lemur.conf.py COPY lemur.conf.py /conf/lemur.conf.py
COPY supervisor.conf / COPY supervisor.conf /
@ -39,7 +40,8 @@ RUN addgroup -S ${group} -g ${gid} && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install --upgrade setuptools && \ pip3 install --upgrade setuptools && \
chmod +x /entrypoint && \ chmod +x /entrypoint && \
mkdir -p /run/nginx/ mkdir -p /run/nginx/ && \
chown -R $user:$group /opt/lemur/
WORKDIR /opt/lemur WORKDIR /opt/lemur