mirror of
https://github.com/openvk/openvk
synced 2025-04-23 08:33:02 +03:00
Update Dockerfile
This commit is contained in:
parent
4dae421270
commit
1ef3ac5506
1 changed files with 3 additions and 3 deletions
|
@ -56,8 +56,8 @@ ln -s /opt/chandler/extensions/available/openvk/ /opt/chandler/extensions/enable
|
||||||
#Create database
|
#Create database
|
||||||
RUN cp /opt/chandler/extensions/available/openvk/install/automated/common/create_db.service /etc/systemd/system/ && \
|
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 644 /etc/systemd/system/create_db.service && \
|
||||||
chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec
|
chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec && \
|
||||||
#systemctl enable create_db
|
systemctl enable create_db
|
||||||
|
|
||||||
#Make the user apache owner of the chandler folder:
|
#Make the user apache owner of the chandler folder:
|
||||||
RUN cd /opt && \
|
RUN cd /opt && \
|
||||||
|
@ -73,7 +73,7 @@ RUN mkdir /var/log/openvk && \
|
||||||
chown apache: /var/log/openvk/
|
chown apache: /var/log/openvk/
|
||||||
|
|
||||||
#And start Apache:
|
#And start Apache:
|
||||||
#RUN systemctl enable httpd
|
RUN systemctl enable httpd
|
||||||
|
|
||||||
#Start systemd
|
#Start systemd
|
||||||
CMD ["/sbin/init"]
|
CMD ["/sbin/init"]
|
||||||
|
|
Loading…
Reference in a new issue