summaryrefslogtreecommitdiffstats
path: root/Services/apache/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/apache/Dockerfile')
-rw-r--r--Services/apache/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile
index 24dc063..4e67fd4 100644
--- a/Services/apache/Dockerfile
+++ b/Services/apache/Dockerfile
@@ -5,9 +5,9 @@ USER root
RUN dnf -y install httpd && \
dnf clean all
ENV HTTPDCONF=/etc/httpd/conf.d/app.conf \
- STARTUPLOG=/data/logs/httpd/startup.log \
- LOG_PATH=/data/logs/httpd \
- APP_PATH=/data/httpd
+ STARTUPLOG=/data/logs/apache/startup.log \
+ LOG_PATH=/data/logs/apache \
+ APP_PATH=/data/apache
COPY httpd.conf $HTTPDCONF
COPY *.sh /bin/
RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \
@@ -15,8 +15,8 @@ RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \
rm -f /etc/httpd/conf.d/autoindex.conf && \
rm -f /etc/httpd/conf.d/welcome.conf && \
mkdir /data && \
- mkdir $APP_PATH && \
mkdir /data/logs && \
+ mkdir $APP_PATH && \
mkdir $LOG_PATH && \
touch $STARTUPLOG
COPY ./ $APP_PATH