From b7cd80d155a8b3e1ebc5607b046544d45cf1921f Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Tue, 31 Mar 2020 20:33:06 +0200 Subject: made upload folder configurable --- Dockerfile.production | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Dockerfile.production') diff --git a/Dockerfile.production b/Dockerfile.production index 025393f..35eb553 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -1,6 +1,6 @@ # https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile -From registry.0xacab.org/georg/mat2-ci-images:debian +From debian:buster-slim LABEL maintainer="Mat-Web Co-Maintainer " @@ -8,6 +8,8 @@ WORKDIR /var/www/mat2-web COPY . /var/www/mat2-web +ENV MAT2_WEB_DOWNLOAD_FOLDER /app/upload + RUN set -x \ && addgroup --system --gid 101 nginx \ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \ @@ -16,6 +18,7 @@ RUN set -x \ ca-certificates \ nginx \ systemd \ + mat2 \ uwsgi \ uwsgi-plugin-python3 \ python3-pip \ -- cgit v1.3