From 75a82816165679b7fa61c18244dd3ba47a9365d6 Mon Sep 17 00:00:00 2001 From: networkException Date: Mon, 30 Oct 2023 22:28:42 +0100 Subject: [PATCH] Container: Generate avatar variants --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0b6b601..faa9bde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,12 @@ RUN npx tsc -p tsconfig.json RUN cp -r /usr/src/app/src /usr/src/app/public +RUN cp /usr/src/app/public/avatar.svg /usr/src/app/public/avatar-full.svg +RUN sed -i 's/width="613.53674" height="613.53668" viewBox="0 0 613.53676 613.53668"/width="1004" height="565" viewBox="-549 -195 1820 1020"/g' /usr/src/app/public/avatar-full.svg + +RUN cp /usr/src/app/public/avatar-full.svg /usr/src/app/public/avatar-totally-secret-variant.svg +RUN sed -i '//d' /usr/src/app/public/avatar-totally-secret-variant.svg + FROM httpd:2.4.58-alpine # No access logs