Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Floris272 committed Feb 3, 2025
1 parent 35f4954 commit c26b76e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ local.py
# Static files
src/open_producten/static/bundles/
src/open_producten/static/wysimark/wysimark.js
src/open_producten/static/wysimark/index*
src/open_producten/fonts/

tmp/*
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app

# copy configuration/build files
COPY ./build /app/build/
COPY ./*.json ./*.js ./.babelrc /app/
#COPY ./build /app/build/
COPY ./*.json ./*.js /app/
# ./.babelrc

# install WITH dev tooling
RUN npm ci
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "npm run collect",
"collect": "cp node_modules/wysimark-standalone/dist/javascript/index.cjs.js src/open_producten/static/wysimark/wysimark.js"
"collect": "cp node_modules/wysimark-standalone/dist/javascript/index.cjs.js src/open_producten/static/wysimark/wysimark.js && cp node_modules/wysimark-standalone/dist/javascript/index.cjs.js.map src/open_producten/static/wysimark/index.cjs.js.map"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit c26b76e

Please sign in to comment.