Container: Generate avatar variants
This commit is contained in:
parent
81ce27c1a7
commit
75a8281616
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue