Skip to content
Snippets Groups Projects
Commit 92a8daaa authored by William Rukmansa's avatar William Rukmansa
Browse files

Slight comment changes

parent 38e91091
Branches
No related merge requests found
Pipeline #10048 failed with stage
FROM node:10
# Create app directory
WORKDIR /usr/src/vizmasy
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
EXPOSE 8080
FROM node:10
# Create app directory
WORKDIR /usr/src/vizmasy
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# RUN npm ci --only=production if building for production
# Bundle app source
COPY . .
EXPOSE 8080
# execute NPM
CMD [ "npm", "start" ]
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment