|
|
|
@ -3,8 +3,8 @@ FROM ubuntu:latest
@@ -3,8 +3,8 @@ FROM ubuntu:latest
|
|
|
|
|
RUN apt-get update && apt-get upgrade -y |
|
|
|
|
|
|
|
|
|
# add user that will be used to install and run the application |
|
|
|
|
#RUN addgroup -g 1000 deploy |
|
|
|
|
#RUN adduser -D -u 1000 -G deploy deploy |
|
|
|
|
RUN addgroup -g 1000 deploy |
|
|
|
|
RUN adduser -D -u 1000 -G deploy deploy |
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
# CUSTOM PART IS BELOW HERE |
|
|
|
@ -45,8 +45,8 @@ ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid
@@ -45,8 +45,8 @@ ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid
|
|
|
|
|
ENV APACHE_LOCK_DIR=/var/lock/apache2 |
|
|
|
|
ENV APACHE_LOG_DIR=/var/log/apache2 |
|
|
|
|
ENV APACHE_RUN_DIR=/var/run/apache2 |
|
|
|
|
ENV APACHE_RUN_USER=www-data |
|
|
|
|
ENV APACHE_RUN_GROUP=www-data |
|
|
|
|
ENV APACHE_RUN_USER=deploy |
|
|
|
|
ENV APACHE_RUN_GROUP=deploy |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#USER deploy |
|
|
|
|