Browse Source

chore: update Dockerfile

master
Dnomd343 4 years ago
parent
commit
1c86f55506
  1. 1
      Dockerfile
  2. 1
      conf/docker/init.sh

1
Dockerfile

@ -6,6 +6,7 @@ RUN mkdir -p /var/www/echoIP \
&& apt update \
&& apt install -y nginx curl \
&& apt install -y php7.3 php7.3-fpm php7.3-sqlite3 \
&& apt install -y nodejs \
&& apt clean \
&& cp /var/www/echoIP/conf/nginx/docker/ip.conf /etc/nginx/conf.d \
&& chmod +x /init.sh

1
conf/docker/init.sh

@ -1,3 +1,4 @@
service php7.3-fpm start
service nginx start
node /var/www/echoIP/backend/qqwryFormat/server.js
/bin/bash

Loading…
Cancel
Save