mirror of
https://github.com/pierre42100/Comunic-DockerSingleContainer
synced 2024-12-25 10:58:50 +00:00
Updated files
This commit is contained in:
parent
f6395b87da
commit
c67ca676d4
@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND="noninteractive" HOME="/"
|
||||
|
||||
#Install dependencies
|
||||
RUN apt update
|
||||
RUN apt install -y apache2 php7.0 php7.0-mysql php7.0-gd php7.0-mbstring mysql-server git uglifyjs
|
||||
RUN apt install -y apache2 php7.0 php7.0-mysql php7.0-gd php7.0-mbstring mysql-server git uglifyjs zip
|
||||
|
||||
#Add shorcuts
|
||||
RUN echo 'eval "mysqld_safe&"; sleep 10;' > /root/start_mysql.sh
|
||||
@ -24,12 +24,12 @@ RUN git clone https://github.com/pierre42100/ComunicAPI /data/api
|
||||
#Import database
|
||||
RUN sh /root/start_mysql.sh; mysql comunic < /data/api/db_struct.sql; exit
|
||||
|
||||
#Create API client
|
||||
RUN sh /root/start_mysql.sh; /data/api/bin/add_client client token; exit
|
||||
|
||||
#Update API config
|
||||
COPY overwriteAPIconfig.php /data/api/config/
|
||||
|
||||
#Create API client
|
||||
RUN sh /root/start_mysql.sh; /data/api/bin/add_client client token; exit
|
||||
|
||||
#Initialize user data directory
|
||||
COPY empty_user_data_dir.tar.gz /root/
|
||||
RUN mkdir /data/user_data/
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user