We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b75bae commit 982d313Copy full SHA for 982d313
.github/workflows/docker-build.yaml
@@ -23,4 +23,4 @@ jobs:
23
uses: docker/build-push-action@v5
24
with:
25
push: true
26
- tags: registry.cn-guangzhou.aliyuncs.com/lyouc/test_github_action:v2.0
+ tags: registry.cn-guangzhou.aliyuncs.com/lyouc/finbot:latest
Dockerfile
@@ -9,7 +9,9 @@ RUN pnpm run build
9
# 使用Nginx作为生产环境
10
FROM python:3.10-slim as production-stage
11
WORKDIR /app
12
-COPY --from=build-stage /app/dist /app
+RUN mkdir -p /app/dist
13
+COPY --from=build-stage /app/dist /app/dist
14
+COPY --from=build-stage /app/script /app/script
15
RUN pip install fastapi uvicorn
16
17
EXPOSE 3307
0 commit comments