From 04fbaa329151e62f2a028d2feece2fa945c80bbe Mon Sep 17 00:00:00 2001 From: muralimohan0405 Date: Fri, 7 Jun 2024 11:02:10 +0530 Subject: [PATCH] Create Dockerfile.Yaml --- .github/Dockerfile.Yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/Dockerfile.Yaml diff --git a/.github/Dockerfile.Yaml b/.github/Dockerfile.Yaml new file mode 100644 index 000000000..5eed99a38 --- /dev/null +++ b/.github/Dockerfile.Yaml @@ -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"]