mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-21 11:05:36 +02:00
Nginx route requests to api via nginx
This commit is contained in:
@ -12,6 +12,8 @@ FROM nginx:alpine3.17-slim
|
||||
# Copy built files from Vite's dist folder
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
#COPY --from=builder /app/tranga-website/media /usr/share/nginx/html/media
|
||||
COPY ./nginx /etc/nginx
|
||||
|
||||
EXPOSE 80
|
||||
ENV API_URL=http://tranga-api:6531
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
Reference in New Issue
Block a user