Skip to content

Commit

Permalink
Update build command in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
farhin23 committed Apr 15, 2024
1 parent 16ae00d commit 921f6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG BASE_PATH
WORKDIR /app
COPY ./ /app/
RUN npm install
RUN npm run build --base-href=$BASE_PATH
RUN npm run build -- --base-href=$BASE_PATH

# Stage 2: Serve app with nginx
FROM nginx:alpine
Expand Down

0 comments on commit 921f6e3

Please sign in to comment.