Skip to content

Free, simple, and intuitive online database diagram editor and SQL generator.

Update Nginx base image to stable-alpine3.23 in Dockerfile (#1032)

Veivneorul926872c44b13
diff --git a/Dockerfile b/Dockerfile
index ed35b52f..1f87fd39 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN npm run build
# Stage 2: Setup the Nginx Server to serve the app
-FROM docker.io/library/nginx:stable-alpine3.17 AS production
+FROM docker.io/library/nginx:stable-alpine3.23 AS production
COPY --from=build /app/dist /usr/share/nginx/html
RUN echo 'server { listen 80; server_name _; root /usr/share/nginx/html; location / { try_files $uri /index.html; } }' > /etc/nginx/conf.d/default.conf
EXPOSE 80