Update nginx.conf

This commit is contained in:
jmal 2023-06-28 14:54:27 +08:00
parent 0dd5d4afdd
commit 1af86aff2a

View File

@ -16,6 +16,7 @@ COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /app/dist /usr/share/nginx/html
RUN apt-get update && apt-get install -y gettext-base
RUN envsubst '$API_BASE_URL' < /etc/nginx/nginx.conf > /etc/nginx/nginx.conf
CMD ["nginx", "-g", "daemon off;"]