set runner user of web service
This commit is contained in:
4 files changed
+22
-8
No files matched your search
+3
-2
@@ -2,7 +2,7 @@ FROM ubuntu:focal AS mapg_base
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt update --fix-missing && apt install -y curl git unzip mariadb-client nginx \
|
||||
RUN apt update --fix-missing && apt install -y sudo curl git unzip mariadb-client nginx \
|
||||
php-apcu php7.4-cli php7.4-curl php7.4-fpm php7.4-mbstring php7.4-mysql php7.4-zip php7.4-xml
|
||||
|
||||
RUN mkdir -p /run/php
|
||||
@@ -30,6 +30,7 @@ EXPOSE 8090
|
||||
EXPOSE 9229
|
||||
ENTRYPOINT docker/scripts/entry-point-dev.sh
|
||||
|
||||
|
||||
FROM mapg_base AS mapg_release
|
||||
|
||||
RUN apt update --fix-missing && apt install -y cron
|
||||
@@ -37,7 +38,7 @@ RUN apt update --fix-missing && apt install -y cron
|
||||
WORKDIR /var/www/mapguesser
|
||||
COPY ./ /var/www/mapguesser
|
||||
RUN docker/scripts/release.sh &&\
|
||||
rm -rf /var/www/mapguesser/.git /var/www/mapguesser/.env
|
||||
rm -rf /var/www/mapguesser/.git
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 8090
|
||||
|
||||
Reference in new issue
Block a user