From ecec57ede66cd3cb8b64f2584cb2e56826800603 Mon Sep 17 00:00:00 2001 From: Nikita Zaporozhets Date: Thu, 3 Feb 2022 14:05:13 +0300 Subject: [PATCH 1/2] Change Dockefile Signed-off-by: Nikita Zaporozhets --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 457470cf..5b526a1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ -FROM nginx:stable-alpine -COPY ./storybook-static /usr/share/nginx/html \ No newline at end of file +FROM nginxinc/nginx-unprivileged:1.20.0-alpine +COPY ./storybook-static /usr/share/nginx/html +EXPOSE 80 \ No newline at end of file From 0411c9126a4975eff45e3b0849c5990a1daa84c2 Mon Sep 17 00:00:00 2001 From: Nikita Zaporozhets Date: Mon, 7 Feb 2022 09:37:25 +0300 Subject: [PATCH 2/2] Delete EXPOSE from Dockerfile Signed-off-by: Nikita Zaporozhets --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b526a1e..80847ac7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,2 @@ FROM nginxinc/nginx-unprivileged:1.20.0-alpine -COPY ./storybook-static /usr/share/nginx/html -EXPOSE 80 \ No newline at end of file +COPY ./storybook-static /usr/share/nginx/html \ No newline at end of file