willyCi/nodejs_app
0
1# Use the latest official Node.js runtime as a parent image2FROM node:243 4# Set the working directory in the container5WORKDIR /usr/src/app6 7# Copy package.json and package-lock.json (if available)8# COPY package*.json ./9 10# If you have dependencies, uncomment and run:11# RUN npm install12# If you are building your code for production13# RUN npm ci --omit=dev14 15# Bundle app source16COPY . .17 18# Your app binds to port 3000, expose it19EXPOSE 786020 21# Define the command to run your app22CMD [ "npm", "run", "start" ]