Fix Dockerfile

This commit is contained in:
Nick Alteen
2023-09-15 11:32:34 -04:00
parent cf21239949
commit 8525b07536

View File

@@ -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"]