hello-world-docker-action2/Dockerfile

12 lines
358 B
Docker
Raw Normal View History

2025-01-02 10:33:32 +01:00
# Container image that runs your code
FROM alpine:3.21
2025-01-02 12:46:08 +01:00
# Set working directory
WORKDIR /usr/src
2025-01-02 10:33:32 +01:00
# Copies your code file from your action repository to the filesystem path `/` of the container
2025-01-02 12:46:08 +01:00
COPY entrypoint.sh /usr/src/entrypoint.sh
2025-01-02 10:33:32 +01:00
# Code file to execute when the docker container starts up (`entrypoint.sh`)
2025-01-02 12:46:08 +01:00
ENTRYPOINT ["sh", "/usr/src/entrypoint.sh"]