nanoppa commited on
Commit
c515e8a
·
verified ·
1 Parent(s): 8a3c073

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -7,8 +7,9 @@ COPY w_env.ts /app/server/env.ts
7
  # 将当前目录下的所有文件复制到工作目录
8
  #ENV NODE_ENV=production
9
  RUN npm install
 
10
  #RUN npm run build
11
  # Start the server by default, this can be overwritten at runtime
12
  EXPOSE 3000
13
 
14
- ENTRYPOINT ["./docker-entrypoint.sh"]
 
7
  # 将当前目录下的所有文件复制到工作目录
8
  #ENV NODE_ENV=production
9
  RUN npm install
10
+ RUN chmod 777 /app/docker-entrypoint.sh
11
  #RUN npm run build
12
  # Start the server by default, this can be overwritten at runtime
13
  EXPOSE 3000
14
 
15
+ ENTRYPOINT ["/app/docker-entrypoint.sh"]