feat: enable API_URL in Dockerfile

fix tranga.conf not redirecting /api/ requests
This commit is contained in:
=
2024-03-07 12:16:19 +11:00
parent d33ac16c7d
commit 5af3005179
3 changed files with 30 additions and 52 deletions

View File

@@ -2,4 +2,5 @@
COPY ./Website /usr/share/nginx/html
COPY ./nginx /etc/nginx
EXPOSE 80
ENV API_URL=http://tranga-api:6531
CMD ["nginx", "-g", "daemon off;"]