Compare commits

..

No commits in common. "eab60089ca568c0e6d0d38da770094c18c652aa9" and "84ad2b7684f9a710214f8a0a5af30840795281e0" have entirely different histories.

View File

@ -5,10 +5,9 @@ COPY ./package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD [ "node", "dist/main.js" ]
# Production Stage
#FROM nginx:stable-alpine AS production
#COPY --from=build /app/build /usr/share/nginx/html
#EXPOSE 80
#CMD ["nginx", "-g", "daemon off;"]
FROM nginx:stable-alpine AS production
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]