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"]