mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-10 03:46:47 +00:00
Formatting and testing
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
# 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 npm install --production
|
||||
|
||||
ENTRYPOINT ["node", "/lib/main.js"]
|
||||
# Run the specified command within the container
|
||||
ENTRYPOINT ["node", "/dist/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user