Update Dockerfile
Browse files- 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 ["
|
|
|
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"]
|