Skip to content

Commit

Permalink
update build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Mar 26, 2024
1 parent 135dc51 commit abb058c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/Dockerfile-Openshift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ RUN pwd && \
ls -l node_modules
RUN yes | npm run build

# # Stage 2: Copy the JS React SPA into the Nginx HTML directory
# FROM artifacts.developer.gov.bc.ca/docker-remote/bitnami/nginx:1.24.0
# COPY ./nginx.conf /opt/bitnami/nginx/conf/
# COPY --from=builder /usr/src/app/public /app
# RUN ls -l /app
# EXPOSE 8080
# CMD ["nginx", "-g", "daemon off;"]
# Stage 2: Copy the JS React SPA into the Nginx HTML directory
FROM artifacts.developer.gov.bc.ca/docker-remote/bitnami/nginx:1.24.0
COPY ./nginx.conf /opt/bitnami/nginx/conf/
COPY --from=builder /usr/src/app/build /app
RUN ls -l /app
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit abb058c

Please sign in to comment.