File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM node:24.10.0-alpine3.21 AS asset_builder
33WORKDIR /app
44
55COPY package.json package-lock.json rollup.config.js ./
6- COPY lung_cancer_screening ./lung_cancer_screening
6+ COPY . .
77RUN npm ci
88RUN npm run compile
99
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ services:
1313 - .env
1414 depends_on :
1515 - db
16+ - asset_builder
1617 volumes :
1718 - ./:/app
1819 - venv:/app/.venv
@@ -26,7 +27,8 @@ services:
2627 target : asset_builder
2728 command : npm run watch
2829 volumes :
29- - ./lung_cancer_screening/assets/compiled:/app/lung_cancer_screening/assets/compiled
30+ - ./:/app
31+ - node_modules:/app/node_modules
3032
3133 db :
3234 image : postgres:15-alpine
@@ -48,3 +50,4 @@ volumes:
4850 redis_data :
4951 venv :
5052 playwright_browsers :
53+ node_modules :
Original file line number Diff line number Diff line change 66 ],
77 "scripts" : {
88 "compile" : " concurrently npm:compile:js npm:compile:css --group --prefix none" ,
9- "compile:css" : " sass --color --quiet-deps --silence-deprecation=import --load-path=. -- load-path=node_modules lung_cancer_screening/assets/sass:lung_cancer_screening/assets/compiled/css" ,
9+ "compile:css" : " sass --color --quiet-deps --load-path=node_modules lung_cancer_screening/assets/sass:lung_cancer_screening/assets/compiled/css" ,
1010 "compile:css:watch" : " npm run compile:css -- --watch" ,
1111 "compile:js" : " rollup -c rollup.config.js --sourcemap" ,
1212 "compile:js:watch" : " npm run compile:js -- --watch" ,
You can’t perform that action at this time.
0 commit comments