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 51833fc commit 2ea25ccCopy full SHA for 2ea25cc
Dockerfile
@@ -1,8 +1,8 @@
1
-FROM python:3-slim AS build-env
2
-ADD . /app
3
-WORKDIR /app
+FROM python:3.8.2
4
5
-FROM gcr.io/distroless/python3
6
-COPY --from=build-env /app /app
7
8
-CMD ["/app/reportsizedeltas.py"]
+# Copies your code file from your action repository to the filesystem path `/` of the container
+COPY reportsizedeltas.py /reportsizedeltas.py
+RUN ["chmod", "+x", "reportsizedeltas.py"]
+
+# Code file to execute when the docker container starts up
+ENTRYPOINT ["python", "reportsizedeltas.py"]
0 commit comments