From 572a393440b39a838b99227ba2222a210a495fac Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Wed, 4 Mar 2026 17:47:43 +0000 Subject: Refactor Docker setup: replace inline Nginx configuration with external file and update Docker stack port configuration --- Dockerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 3530ae0..8cd785f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,18 +13,7 @@ RUN bun run build FROM nginx:alpine COPY --from=build /app/dist /usr/share/nginx/html -COPY <<'EOF' /etc/nginx/conf.d/default.conf -server { - listen 80; - server_name _; - root /usr/share/nginx/html; - index index.html; - - location / { - try_files $uri $uri/ /index.html; - } -} -EOF +COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file -- cgit