remove iframe.html

This commit is contained in:
Lukas Hass
2022-02-15 20:19:45 +01:00
parent 8c96a986fb
commit 620e218612
3 changed files with 31 additions and 82 deletions
-4
View File
@@ -14,10 +14,6 @@ RUN cp -r ../messages/JsonMessages/* src/Messages/JsonMessages
RUN yarn install && yarn run typesafe-i18n && yarn run build-iframe-api && yarn build
# 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
RUN rm dist/iframe.html
FROM thecodingmachine/nodejs:14-apache
COPY --from=builder --chown=docker:docker /usr/src/front/dist dist