mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
fix Docker run (#3229)
This commit is contained in:
@@ -4,9 +4,9 @@ FROM node:16.13-alpine3.14 AS builder
|
||||
WORKDIR /usr/src/alfresco
|
||||
COPY package.json package.json
|
||||
|
||||
# RUN mkdir -p ./licenses && \
|
||||
# yarn licenses list --production > ./licenses/licenses.txt && \
|
||||
# yarn licenses generate-disclaimer --production > ./licenses/disclaimer.txt
|
||||
RUN mkdir -p ./licenses && \
|
||||
yarn licenses list --production > ./licenses/licenses.txt && \
|
||||
yarn licenses generate-disclaimer --production > ./licenses/disclaimer.txt
|
||||
|
||||
# 2. Generate image
|
||||
|
||||
@@ -46,12 +46,11 @@ ENV APP_CONFIG_ENABLE_FILE_AUTO_DOWNLOAD=true
|
||||
ENV APP_CONFIG_FILE_AUTO_DOWNLOAD_SIZE_THRESHOLD_IN_MB=15
|
||||
|
||||
COPY docker/default.conf.template /etc/nginx/templates/
|
||||
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 dist/$PROJECT_NAME/assets/app.extensions.json /etc/nginx/templates/app.extensions.json.template
|
||||
# COPY --from=builder /usr/src/alfresco/licenses /usr/share/nginx/html/
|
||||
COPY --from=builder /usr/src/alfresco/licenses /usr/share/nginx/html/
|
||||
|
||||
USER root
|
||||
RUN chmod a+w -R /etc/nginx/conf.d
|
||||
|
Reference in New Issue
Block a user