Update Dockerfile
This commit is contained in:
parent
2180ca6d2c
commit
05dfb9036a
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user