Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yeranosyanvahan committed Nov 18, 2023
1 parent ae33750 commit 13db66f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Build stage
FROM node:20.9 as react
FROM node:20.9 as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build

RUN ls -lah /app
RUN echo "What is this"
# Production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/public /usr/share/nginx/html
Expand Down

0 comments on commit 13db66f

Please sign in to comment.