This commit is contained in:
_Bastler 2021-08-23 09:07:07 +02:00
parent 730ca9c71d
commit 9790572928

View File

@ -13,7 +13,7 @@ RUN yarn install --ignore-engines
COPY front . COPY front .
COPY --from=messages /usr/src/generated src/Messages/generated COPY --from=messages /usr/src/generated src/Messages/generated
# passing arguments as enviroment # passing arguments as environment
ARG DEBUG_MODE ARG DEBUG_MODE
ARG JITSI_URL ARG JITSI_URL
ARG JITSI_PRIVATE_MODE ARG JITSI_PRIVATE_MODE
@ -31,8 +31,8 @@ ARG SKIP_RENDER_OPTIMIZATIONS
# Removing the iframe.html file from the final image as this adds a XSS attack. # Removing the iframe.html file from the final image as this adds a XSS attack.
# iframe.html is only in dev mode to circumvent a limitation # iframe.html is only in dev mode to circumvent a limitation
ENV NODE_ENV=production
RUN rm dist/iframe.html RUN rm dist/iframe.html
ENV NODE_ENV=production
RUN ./templater.sh RUN ./templater.sh
RUN \ RUN \
DEBUG_MODE=$DEBUG_MODE \ DEBUG_MODE=$DEBUG_MODE \