Container: Generate avatar variants

This commit is contained in:
networkException 2023-10-30 22:28:42 +01:00
parent 81ce27c1a7
commit 75a8281616
Signed by: networkException
GPG key ID: E3877443AE684391

View file

@ -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 '/<path d="M 0,0 H 1365 V 768 H 0 Z" style="display:inline;fill:#fb8919;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path421242" inkscape:label="Orange" \/>/d' /usr/src/app/public/avatar-totally-secret-variant.svg
FROM httpd:2.4.58-alpine
# No access logs