From a5cb1f729d39e376f668c243bb946aea925b20ef Mon Sep 17 00:00:00 2001 From: colawithsauce Date: Fri, 8 Dec 2023 18:52:54 +0800 Subject: [PATCH] Remove unneeded env setting --- Dockerfile | 2 +- docker-compose.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d29ffe..2fb8f95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re COPY --from=build /app/docker/nginx.conf.example /etc/nginx/conf.d/default.conf COPY --from=build /app/dist /usr/share/nginx/html -CMD nginx ; exec env NODE_TLS_REJECT_UNAUTHORIZED=0 npx NeteaseCloudMusicApi \ No newline at end of file +CMD nginx ; exec npx NeteaseCloudMusicApi \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 3cc926d..d9bc685 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro ports: - - 1202:80 + - 80:80 restart: always depends_on: - UnblockNeteaseMusic @@ -20,8 +20,6 @@ services: UnblockNeteaseMusic: image: pan93412/unblock-netease-music-enhanced command: -o bilibili kugou kuwo pyncmd -p 80:443 -f 59.111.19.99 - environment: - - NODE_TLS_REJECT_UNAUTHORIZED=0 networks: my_network: aliases: