Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

Use nginx-unprivileged image; fix exposed port (#436)

Danfe77036acaf9
diff --git a/Dockerfile b/Dockerfile
index 2d217dfc..f214858e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,9 +14,9 @@ COPY . .
RUN corepack enable pnpm && pnpm run build
# Stage 3: Production image
-FROM nginx:stable AS production
+FROM nginxinc/nginx-unprivileged:stable AS production
WORKDIR /app
COPY --from=builder /app/out /app
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
-EXPOSE 80
\ No newline at end of file
+EXPOSE 8080