Update nginx.conf
This commit is contained in:
parent
0dd5d4afdd
commit
1af86aff2a
@ -16,6 +16,7 @@ COPY nginx.conf /etc/nginx/nginx.conf
|
|||||||
|
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
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
|
RUN envsubst '$API_BASE_URL' < /etc/nginx/nginx.conf > /etc/nginx/nginx.conf
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user