File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
incubating/argocd-app-status Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
FROM python:3.13.0-slim-bookworm AS builder
3
3
WORKDIR /app
4
4
COPY requirements.txt requirements.txt
5
- RUN pip3 install -r requirements.txt
6
5
COPY queries queries/
7
6
COPY argocd_app_status.py argocd_app_status.py
8
7
9
- RUN pip3 install pyinstaller
10
- RUN pyinstaller --onefile argocd_app_status.py
8
+ RUN pip3 install -r requirements.txt
9
+ RUN pip3 install pyinstaller
10
+ RUN pyinstaller --onefile argocd_app_status.py
11
11
12
12
# stage 2 : Prod
13
13
FROM scratch
@@ -18,5 +18,5 @@ USER codefresh
18
18
19
19
WORKDIR /app
20
20
COPY queries queries/
21
- COPY dist/argocd_app_status argocd_app_status
22
- CMD argocd_app_status
21
+ COPY --from=builder dist/argocd_app_status argocd_app_status
22
+ ENTRYPOINT [ "/app/ argocd_app_status" ]
You can’t perform that action at this time.
0 commit comments