This commit is contained in:
CHIEFSOFT\ameye
2024-04-23 14:07:46 -04:00
parent 44f6fb0816
commit b6543c37b6
+3 -3
View File
@@ -103,17 +103,17 @@ ENV PATH /usr/src/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 yarn install --silent RUN npm install --silent
# RUN npm install react-scripts@3.4.1 -g --silent # RUN npm install react-scripts@3.4.1 -g --silent
# add app # add app
COPY . ./ COPY . ./
#c RUN yarn run build RUN npm run build
# start app # start app
#CMD ["npm","run", "start"] #CMD ["npm","run", "start"]
# CMD ["yarn","run", "preview"] CMD ["npm","run", "preview"]