Skip to content

Commit 82f4b3e

Browse files
ci: update actions dockerfile for release
1 parent bf7960c commit 82f4b3e

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

Dockerfile

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Distroless runs python 3.9.2
2-
FROM python:3.9.2-slim AS builder
3-
ADD Docker/builder/rootfs /
4-
ADD repo_manager /app/repo_manager
5-
ADD main.py /app/main.py
6-
WORKDIR /app
7-
8-
# We are installing a dependency here directly into our app source dir
9-
RUN pip install --target=/app -r /requirements.txt
10-
11-
# A distroless container image with Python and some basics like SSL certificates
12-
# https://github.com/GoogleContainerTools/distroless
13-
FROM gcr.io/distroless/python3
14-
COPY --from=builder /app /app
15-
WORKDIR /app
16-
ENV PYTHONPATH /app
17-
CMD ["/app/main.py"]
1+
# This file is generated from Docker/ActionDockerfile.j2 as part of the release ci
2+
# Don't modify it directly
3+
FROM andrewthetechie/gha-repo-manager:v1.2.1

0 commit comments

Comments
 (0)