Skip to content

Commit

Permalink
[Misc] Switch Docker image to `nginxinc/nginx-unprivileged:alpine3.18…
Browse files Browse the repository at this point in the history
…-slim`.
  • Loading branch information
azasypkin committed Sep 9, 2023
1 parent f485ff1 commit b316922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RUN set -x && yarn install
COPY ["./src", "./src"]
RUN set -x && yarn build

FROM nginx:alpine3.18-slim
FROM nginxinc/nginx-unprivileged:alpine3.18-slim
COPY --from=UI_BUILDER ["/app/dist/", "/usr/share/nginx/html/"]
COPY ["./config/nginx.conf", "/etc/nginx/conf.d/default.conf"]
4 changes: 2 additions & 2 deletions config/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 80;
listen [::]:80;
listen 8080;
listen [::]:8080;
server_name localhost;

gzip_static on;
Expand Down

0 comments on commit b316922

Please sign in to comment.