Skip to content

Commit

Permalink
Merge pull request #876 from yaacov/fix-dockerfile-nginx-path
Browse files Browse the repository at this point in the history
Match http path to nginix configuration path
  • Loading branch information
openshift-merge-robot committed Sep 14, 2022
2 parents f05ddaf + f40098f commit 511a8cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN yarn install --frozen-lockfile --ignore-engines && yarn build

FROM registry.access.redhat.com/ubi8/nginx-120

COPY default.conf "${NGINX_CONFIGURATION_PATH}"
COPY --from=builder /opt/app-root/src/dist .
COPY --from=builder /opt/app-root/src/dist /usr/share/nginx/html
USER 1001
CMD /usr/libexec/s2i/run

0 comments on commit 511a8cd

Please sign in to comment.