remove nginx, serve ui from api itself
This commit is contained in:
@@ -25,8 +25,8 @@ RUN npm run build --verbose
|
||||
# Production image with nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copy built Angular app
|
||||
COPY --from=frontend-builder /frontend/dist/frontend /usr/share/nginx/html
|
||||
# Copy built Angular app from the browser subdirectory
|
||||
COPY --from=frontend-builder /frontend/dist/frontend/browser /usr/share/nginx/html
|
||||
|
||||
# Copy nginx configuration
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user