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/docker/nginx.conf.example /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html 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/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
ports: ports:
- 1202:80 - 80:80
restart: always restart: always
depends_on: depends_on:
- UnblockNeteaseMusic - UnblockNeteaseMusic
@ -20,8 +20,6 @@ services:
UnblockNeteaseMusic: UnblockNeteaseMusic:
image: pan93412/unblock-netease-music-enhanced image: pan93412/unblock-netease-music-enhanced
command: -o bilibili kugou kuwo pyncmd -p 80:443 -f 59.111.19.99 command: -o bilibili kugou kuwo pyncmd -p 80:443 -f 59.111.19.99
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
networks: networks:
my_network: my_network:
aliases: aliases: