Fix admin nginx: listen on port 80 instead of 3000 (match docker-compose port mapping)
This commit is contained in:
@@ -12,5 +12,5 @@ RUN npm run build
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 3000
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
args:
|
||||
VITE_API_BASE_URL: http://localhost:8000
|
||||
ports:
|
||||
- '3000:3000'
|
||||
- '3000:80'
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 3000;
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user