Fix admin nginx: listen on port 80 instead of 3000 (match docker-compose port mapping)
CI / Lint & Format (push) Failing after 1s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 1s
CI / Docker Build (push) Has been skipped

This commit is contained in:
2026-06-22 22:23:39 -04:00
parent bc94e13dc8
commit e965e44e89
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ RUN npm run build
FROM nginx:alpine FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx/default.conf /etc/nginx/conf.d/default.conf COPY nginx/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 3000 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
+1 -1
View File
@@ -5,7 +5,7 @@ services:
args: args:
VITE_API_BASE_URL: http://localhost:8000 VITE_API_BASE_URL: http://localhost:8000
ports: ports:
- '3000:3000' - '3000:80'
depends_on: depends_on:
- backend - backend
restart: unless-stopped restart: unless-stopped
+1 -1
View File
@@ -1,5 +1,5 @@
server { server {
listen 3000; listen 80;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;