From 1c86f5550680e9063ded2823678491839a29d9d4 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 20 Mar 2021 22:51:10 +0800 Subject: [PATCH] chore: update Dockerfile --- Dockerfile | 1 + conf/docker/init.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1f4df63..cf835a3 100644 --- a/Dockerfile +++ b/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 diff --git a/conf/docker/init.sh b/conf/docker/init.sh index ed6a6d8..c13bebf 100644 --- a/conf/docker/init.sh +++ b/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