Skip to content

Commit 982d313

Browse files
committed
fix: 修改action文件
1 parent 0b75bae commit 982d313

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docker-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
uses: docker/build-push-action@v5
2424
with:
2525
push: true
26-
tags: registry.cn-guangzhou.aliyuncs.com/lyouc/test_github_action:v2.0
26+
tags: registry.cn-guangzhou.aliyuncs.com/lyouc/finbot:latest

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ RUN pnpm run build
99
# 使用Nginx作为生产环境
1010
FROM python:3.10-slim as production-stage
1111
WORKDIR /app
12-
COPY --from=build-stage /app/dist /app
12+
RUN mkdir -p /app/dist
13+
COPY --from=build-stage /app/dist /app/dist
14+
COPY --from=build-stage /app/script /app/script
1315
RUN pip install fastapi uvicorn
1416

1517
EXPOSE 3307

0 commit comments

Comments
 (0)