Spaces:
Sleeping
Sleeping
epii-1
commited on
Commit
·
a54a1ce
1
Parent(s):
7958498
222222
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -69,7 +69,8 @@ COPY --from=builder /app/backend /app/backend
|
|
| 69 |
|
| 70 |
# 复制自定义的 Nginx 配置文件
|
| 71 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 72 |
-
|
|
|
|
| 73 |
# 设置默认命令
|
| 74 |
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
| 75 |
|
|
|
|
| 69 |
|
| 70 |
# 复制自定义的 Nginx 配置文件
|
| 71 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 72 |
+
COPY docker-entrypoint.sh /app/
|
| 73 |
+
RUN chmod +x /app/docker-entrypoint.sh
|
| 74 |
# 设置默认命令
|
| 75 |
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
| 76 |
|