mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-10 20:21:17 +00:00
11 lines
249 B
Docker
11 lines
249 B
Docker
# Set the base image to use for subsequent instructions
|
|
FROM node:slim
|
|
|
|
# Copy the repository contents to the container
|
|
COPY . .
|
|
|
|
# RUN npm install --production
|
|
|
|
# Run the specified command within the container
|
|
ENTRYPOINT ["node", "/dist/index.js"]
|