Update Dockerfile

This commit is contained in:
Luke Tainton 2025-01-02 12:46:08 +01:00
parent 2180ca6d2c
commit 05dfb9036a

View File

@ -1,8 +1,11 @@
# Container image that runs your code # Container image that runs your code
FROM alpine:3.21 FROM alpine:3.21
# Set working directory
WORKDIR /usr/src
# Copies your code file from your action repository to the filesystem path `/` of the container # Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /usr/src/entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`) # Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["sh", "/usr/src/entrypoint.sh"]