Fix Dockerfile
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user