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
1 merge request!435WIP: 1.4.0
...@@ -5,8 +5,8 @@ RUN apt-get update -y && apt-get install inkscape -y ...@@ -5,8 +5,8 @@ RUN apt-get update -y && apt-get install inkscape -y
RUN inkscape --version RUN inkscape --version
# Add assets files # Add assets files
COPY ./src/assets/icons/visu/ecogesture /ecogesture COPY ./icons/visu/ecogesture /ecogesture
COPY ./src/assets/icons/email /email COPY ./icons/email /email
# Convert svg files to png # 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 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 ...@@ -15,5 +15,5 @@ RUN cd /email && for file in *.svg; do dbus-run-session inkscape -h 200 --export
FROM scratch FROM scratch
# Copy only assets files # Copy only assets files
COPY --from=builder /ecogesture /ecogesture COPY --from=builder /ecogesture /image-lib/ecogesture
COPY --from=builder /email /email 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