Commit 910fb6fe authored by Muhammad Ebad Sheikh's avatar Muhammad Ebad Sheikh

hopefully final edit

parent 51a39070
**/node_modules
**/npm-debug.log
build
FROM node:alpine # pull official base image
FROM node:17-alpine
# set working directory # set working directory
WORKDIR /app WORKDIR /app
...@@ -9,8 +10,8 @@ ENV PATH /app/node_modules/.bin:$PATH ...@@ -9,8 +10,8 @@ ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies # install app dependencies
COPY package.json ./ COPY package.json ./
COPY package-lock.json ./ COPY package-lock.json ./
RUN npm install RUN npm install --silent
RUN npm install react-scripts@3.4.1 -g RUN npm install react-scripts@3.4.1 -g --silent
# add app # add app
COPY . ./ COPY . ./
......
Markdown is supported
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