12 lines
358 B
Docker
12 lines
358 B
Docker
# Container image that runs your code
|
|
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
|
|
COPY entrypoint.sh /usr/src/entrypoint.sh
|
|
|
|
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
|
ENTRYPOINT ["sh", "/usr/src/entrypoint.sh"]
|