Update Dockerfile

This commit is contained in:
samuhin 2021-04-28 02:19:50 +03:00 committed by GitHub
parent 4dae421270
commit 1ef3ac5506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,8 +56,8 @@ ln -s /opt/chandler/extensions/available/openvk/ /opt/chandler/extensions/enable
#Create database
RUN cp /opt/chandler/extensions/available/openvk/install/automated/common/create_db.service /etc/systemd/system/ && \
chmod 644 /etc/systemd/system/create_db.service && \
chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec
#systemctl enable create_db
chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec && \
systemctl enable create_db
#Make the user apache owner of the chandler folder:
RUN cd /opt && \
@ -73,7 +73,7 @@ RUN mkdir /var/log/openvk && \
chown apache: /var/log/openvk/
#And start Apache:
#RUN systemctl enable httpd
RUN systemctl enable httpd
#Start systemd
CMD ["/sbin/init"]