diff options
Diffstat (limited to 'Dockerfile.production')
| -rw-r--r-- | Dockerfile.production | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile.production b/Dockerfile.production index 025393f..35eb553 100644 --- a/Dockerfile.production +++ b/Dockerfile.production | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile | 1 | # https://github.com/nginxinc/docker-nginx-unprivileged/blob/master/stable/buster/Dockerfile |
| 2 | 2 | ||
| 3 | From registry.0xacab.org/georg/mat2-ci-images:debian | 3 | From debian:buster-slim |
| 4 | 4 | ||
| 5 | LABEL maintainer="Mat-Web Co-Maintainer <jan.friedli@immerda.ch>" | 5 | LABEL maintainer="Mat-Web Co-Maintainer <jan.friedli@immerda.ch>" |
| 6 | 6 | ||
| @@ -8,6 +8,8 @@ WORKDIR /var/www/mat2-web | |||
| 8 | 8 | ||
| 9 | COPY . /var/www/mat2-web | 9 | COPY . /var/www/mat2-web |
| 10 | 10 | ||
| 11 | ENV MAT2_WEB_DOWNLOAD_FOLDER /app/upload | ||
| 12 | |||
| 11 | RUN set -x \ | 13 | RUN set -x \ |
| 12 | && addgroup --system --gid 101 nginx \ | 14 | && addgroup --system --gid 101 nginx \ |
| 13 | && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \ | 15 | && 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 \ | |||
| 16 | ca-certificates \ | 18 | ca-certificates \ |
| 17 | nginx \ | 19 | nginx \ |
| 18 | systemd \ | 20 | systemd \ |
| 21 | mat2 \ | ||
| 19 | uwsgi \ | 22 | uwsgi \ |
| 20 | uwsgi-plugin-python3 \ | 23 | uwsgi-plugin-python3 \ |
| 21 | python3-pip \ | 24 | python3-pip \ |
