AAE-4023 fix BASE_PATH as / (#1831)

This commit is contained in:
Marcello Teodori
2020-11-27 15:02:56 +01:00
committed by GitHub
parent b869e91869
commit b96f6cece4
3 changed files with 9 additions and 12 deletions

View File

@@ -19,10 +19,11 @@ COPY docker/docker-entrypoint.d/* /docker-entrypoint.d/
COPY dist/$PROJECT_NAME /usr/share/nginx/html/
COPY dist/$PROJECT_NAME/app.config.json /etc/nginx/templates/app.config.json.template
COPY --from=builder /usr/src/alfresco/licenses /usr/share/nginx/html/
USER root
RUN chmod a+w -R /etc/nginx/conf.d
USER 101
ENV BASE_PATH=/$PROJECT_NAME
ENV BASE_PATH=/
ENV NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/conf.d