Skip to content

Commit 2ea25cc

Browse files
per1234Roberto Sora
andauthored
Pin Python version used by report-size-deltas action
Pin Python version to 3.8.2 Co-Authored-By: Roberto Sora <[email protected]>
1 parent 51833fc commit 2ea25cc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM python:3-slim AS build-env
2-
ADD . /app
3-
WORKDIR /app
1+
FROM python:3.8.2
42

5-
FROM gcr.io/distroless/python3
6-
COPY --from=build-env /app /app
7-
WORKDIR /app
8-
CMD ["/app/reportsizedeltas.py"]
3+
# Copies your code file from your action repository to the filesystem path `/` of the container
4+
COPY reportsizedeltas.py /reportsizedeltas.py
5+
RUN ["chmod", "+x", "reportsizedeltas.py"]
6+
7+
# Code file to execute when the docker container starts up
8+
ENTRYPOINT ["python", "reportsizedeltas.py"]

0 commit comments

Comments
 (0)