Files
container-toolkit-action/Dockerfile
2023-09-15 12:42:04 -04:00

13 lines
318 B
Docker

# Set the base image to use for subsequent instructions
FROM node:slim
# Create a directory for the action code
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copy the repository contents to the container
COPY . .
# Run the specified command within the container
ENTRYPOINT ["node", "/usr/src/app/dist/index.js"]