This commit is contained in:
ahmed531998 2023-04-09 00:49:48 +02:00
parent 12d1a52e67
commit b8d577d73a
1 changed files with 5 additions and 5 deletions

View File

@ -10,13 +10,13 @@ RUN npm install
COPY ./src ./src
COPY ./public ./public
#RUN npm run build
RUN npm run build
COPY . .
CMD ["npm", "start"]
#CMD ["npm", "start"]
#FROM nginx:stable-alpine
#COPY --from=build /app/build /usr/share/nginx/html
#COPY nginx.default.conf /etc/nginx/conf.d/default.conf
FROM nginx:stable-alpine
COPY --from=build /app/build /usr/share/nginx/html
COPY nginx.default.conf /etc/nginx/conf.d/default.conf