Load env var for api url into ui for production
This commit is contained in:
@@ -20,11 +20,11 @@ ENV environment=${environment}
|
||||
|
||||
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx/templates/ /templates/
|
||||
COPY nginx/scripts/01-configure_ssh.sh /docker-entrypoint.d/01-configure_ssh.sh
|
||||
COPY nginx/scripts/01-setup.sh /docker-entrypoint.d/01-setup.sh
|
||||
|
||||
COPY --from=ui-builder /builder/dist /dist
|
||||
RUN echo "Copying UI assets into nginx html folder..."; \
|
||||
mkdir -p /usr/share/nginx/html && \
|
||||
cp -R /dist/* /usr/share/nginx/html;
|
||||
|
||||
RUN chmod +x /docker-entrypoint.d/01-configure_ssh.sh
|
||||
RUN chmod +x /docker-entrypoint.d/01-setup.sh
|
||||
|
||||
Reference in New Issue
Block a user