diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-04 17:47:43 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-04 17:47:43 +0000 |
| commit | 572a393440b39a838b99227ba2222a210a495fac (patch) | |
| tree | 5ae4fbb4060739a9bfdf102c1c8cfc597b26cb4c /Dockerfile | |
| parent | 4c4f5ffc6b72732f516aefc6756c848330c106e7 (diff) | |
Refactor Docker setup: replace inline Nginx configuration with external file and update Docker stack port configuration
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |
