Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/Dockerfile.Yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:14
# Set the working directory
WORKDIR /app
# Copy the package.json and package-lock.json (if available) to the working directory
COPY package*.json ./
# Install the dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY . .
# Expose the port the app runs on (assuming your app runs on port 3000)
EXPOSE 3000
# Define the command to run your app
CMD ["npm", "start"]