Remove unneeded env setting

This commit is contained in:
colawithsauce 2023-12-08 18:52:54 +08:00
parent e997cd9907
commit a5cb1f729d
2 changed files with 2 additions and 4 deletions

View File

@ -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
CMD nginx ; exec npx NeteaseCloudMusicApi

View File

@ -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: