Skip to content
Snippets Groups Projects
Commit 7609bc4b authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

fix(assets): changed assets file tree in Dockerfile

parent 215a3279
No related branches found
No related tags found
1 merge request!435WIP: 1.4.0
......@@ -5,8 +5,8 @@ RUN apt-get update -y && apt-get install inkscape -y
RUN inkscape --version
# Add assets files
COPY ./src/assets/icons/visu/ecogesture /ecogesture
COPY ./src/assets/icons/email /email
COPY ./icons/visu/ecogesture /ecogesture
COPY ./icons/email /email
# Convert svg files to png
RUN cd /ecogesture && for file in *.svg; do dbus-run-session inkscape -h 200 --export-type="png" $file; done && rm *.svg
......@@ -15,5 +15,5 @@ RUN cd /email && for file in *.svg; do dbus-run-session inkscape -h 200 --export
FROM scratch
# Copy only assets files
COPY --from=builder /ecogesture /ecogesture
COPY --from=builder /email /email
COPY --from=builder /ecogesture /image-lib/ecogesture
COPY --from=builder /email /image-lib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment