From f40098f21749b1fb3ad9708b585936978dba267c Mon Sep 17 00:00:00 2001 From: yzamir Date: Wed, 14 Sep 2022 15:04:05 +0300 Subject: [PATCH] Match http path to nginix configuration path --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2a566f6b5..f146659f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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