Skip to content

Commit 99ad1bf

Browse files
committed
修改启动命令 supervisor ./bin/www
1 parent 9f8e9f7 commit 99ad1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ COPY . /usr/src/app
1616
EXPOSE 80
1717

1818
# ENTRYPOINT指令,让Node.js程序作为该Docker镜像的主运行入口,并将其运行起来。
19-
ENTRYPOINT ["node", "bin/www"]
19+
ENTRYPOINT ["supervisor", "./bin/www"]
2020

0 commit comments

Comments
 (0)