From 8525b0753694c8c2d98e1c72e2aed3cf93936f31 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 15 Sep 2023 11:32:34 -0400 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa0188a..6b92e63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -# Container image that runs your code -FROM alpine:3.10 +# Set the base image to use for subsequent instructions +FROM alpine:3.18 -# Copies your code file from your action repository to the filesystem path `/` of the container -COPY entrypoint.sh /entrypoint.sh +# Set the working directory inside the container +WORKDIR /usr/src -# Code file to execute when the docker container starts up (`entrypoint.sh`) -ENTRYPOINT ["/entrypoint.sh"] +# Copy any source file(s) required for the action +COPY entrypoint.sh . + +# Configure the container to be run as an executable +ENTRYPOINT ["/usr/src/entrypoint.sh"]