mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-27 18:07:29 +02:00
Compare commits
1 Commits
fix/link-p
...
config/inc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cbd43caae |
@@ -51,6 +51,8 @@ RUN NODE_ENV=production yarn install --frozen-lockfile
|
|||||||
# Remove npm, contains CVE related to cross-spawn and we don't use it.
|
# Remove npm, contains CVE related to cross-spawn and we don't use it.
|
||||||
RUN rm -rf /usr/local/bin/npm /usr/local/lib/node_modules/npm
|
RUN rm -rf /usr/local/bin/npm /usr/local/lib/node_modules/npm
|
||||||
|
|
||||||
|
ENV NODE_OPTIONS="--max-old-space-size=2048"
|
||||||
|
|
||||||
# Un-privileged user running the application
|
# Un-privileged user running the application
|
||||||
ARG DOCKER_USER
|
ARG DOCKER_USER
|
||||||
USER ${DOCKER_USER}
|
USER ${DOCKER_USER}
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ yProvider:
|
|||||||
COLLABORATION_SERVER_ORIGIN: https://{{ .Values.feature }}-docs.{{ .Values.domain }}
|
COLLABORATION_SERVER_ORIGIN: https://{{ .Values.feature }}-docs.{{ .Values.domain }}
|
||||||
COLLABORATION_SERVER_SECRET: my-secret
|
COLLABORATION_SERVER_SECRET: my-secret
|
||||||
Y_PROVIDER_API_KEY: my-secret
|
Y_PROVIDER_API_KEY: my-secret
|
||||||
|
NODE_OPTIONS: "--max-old-space-size=1024"
|
||||||
|
|
||||||
docSpec:
|
docSpec:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user