Skip to content

Commit

Permalink
WP: build frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjourne committed Feb 13, 2024
1 parent a3ba467 commit 9b3c169
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
10 changes: 5 additions & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ RUN npm install

# ViewerJS
ARG VIEWERJS_VERSION
RUN wget "https://viewerjs.org/releases/viewerjs-${VIEWERJS_VERSION}.zip"
RUN mkdir ViewerJS
RUN unzip viewerjs-${VIEWERJS_VERSION}.zip
RUN mv viewerjs-${VIEWERJS_VERSION}/* ViewerJS
# RUN wget "https://viewerjs.org/releases/viewerjs-${VIEWERJS_VERSION}.zip"
# RUN mkdir ViewerJS
# RUN unzip viewerjs-${VIEWERJS_VERSION}.zip
# RUN mv viewerjs-${VIEWERJS_VERSION}/* ViewerJS

#DSFR (Design de l'Etat)
RUN mkdir -p static/dsfr \
Expand Down Expand Up @@ -59,6 +59,6 @@ WORKDIR /app
COPY --from=build --chown=node:node /app/__sapper__/build ./__sapper__/build
COPY --from=build --chown=node:node /app/static ./static
COPY --from=build --chown=node:node /app/node_modules ./node_modules
COPY --from=base --chown=node:node /app/ViewerJS ./ViewerJS
# COPY --from=base --chown=node:node /app/ViewerJS ./ViewerJS
COPY --chown=node:node package.json .
CMD ["node","__sapper__/build"]
48 changes: 24 additions & 24 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,38 @@
"test": "run-p --race dev cy:run"
},
"dependencies": {
"@gouvfr/dsfr": "^1.0.0",
"compression": "^1.7.1",
"marked": "^0.7.0",
"polka": "next",
"@gouvfr/dsfr": "1.10.2",
"compression": "1.7.4",
"marked": "0.7.0",
"polka": "1.0.0-next.24",
"rollup": "2.79.1",
"simple-svelte-autocomplete": "1.2.4",
"sirv": "^0.4.0",
"svelte-tags-input": "^2.6.5",
"pdfjs-dist": "^4.0.3"
"svelte-paginate": "0.0.1",
"svelte-tags-input": "2.9.2"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"sapper": "^0.27.0",
"svelte": "^3.32.3",
"@babel/core": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"rollup": "^2.3.4",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^5.3.0",
"npm-run-all": "4.1.5",
"sapper": "0.27.16",
"svelte": "3.59.2",
"@babel/core": "7.23.5",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-runtime": "7.23.4",
"@babel/preset-env": "7.23.5",
"@babel/runtime": "7.0.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "12.0.0",
"@rollup/plugin-node-resolve": "8.4.0",
"@rollup/plugin-replace": "2.4.2",
"rollup": "2.3.4",
"rollup-plugin-svelte": "5.2.3",
"rollup-plugin-terser": "5.3.1",
"postcss": "8.0.3",
"postcss-cli": "7.1.2",
"svelte-preprocess": "4.6.x",
"svelte-preprocess": "4.6.9",
"tailwindcss": "1.8.10",
"svelte-paginate": "0.0.1"
},
"peerDependencies": {
"postcss": "^8.0.0"
}
}
}

0 comments on commit 9b3c169

Please sign in to comment.