diff --git a/front/Dockerfile b/front/Dockerfile index 0a5ec067..58aa2764 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -13,7 +13,7 @@ RUN yarn install --ignore-engines COPY front . COPY --from=messages /usr/src/generated src/Messages/generated -# passing arguments as enviroment +# passing arguments as environment ARG DEBUG_MODE ARG JITSI_URL 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. # iframe.html is only in dev mode to circumvent a limitation -ENV NODE_ENV=production RUN rm dist/iframe.html +ENV NODE_ENV=production RUN ./templater.sh RUN \ DEBUG_MODE=$DEBUG_MODE \