File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
connect/cli/plugins/project/extension/templates/bootstrap/${project_slug} Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ COPY pyproject.toml /install_temp/.
4
4
COPY poetry.* /install_temp/.
5
5
WORKDIR /install_temp
6
6
RUN poetry update && poetry install --no-root
7
- COPY package*.json /install_temp/.
8
- RUN if [ -f "/install_temp/package.json" ]; then npm install; fi
7
+ COPY package*.json /extension/.
8
+ WORKDIR /extension
9
+ RUN if [ -f "/extension/package.json" ]; then npm install; fi
Original file line number Diff line number Diff line change 1
1
version: '3'
2
2
3
+ {% - if webapp_supports_ui == 'y' %}
4
+ volumes:
5
+ node_modules
6
+ {% - endif %}
7
+
3
8
services:
4
9
{{project_slug}}_dev:
5
10
container_name: {{project_slug}}_dev
@@ -9,6 +14,9 @@ services:
9
14
command: cextrun -d --no-rich-logging
10
15
volumes:
11
16
- .:/extension
17
+ {% - if webapp_supports_ui == 'y' %}
18
+ - node_modules:/extension/node_modules
19
+ {% - endif %}
12
20
env_file:
13
21
- .{{ project_slug }}_dev.env
14
22
@@ -22,6 +30,9 @@ services:
22
30
tty: true
23
31
volumes:
24
32
- .:/extension
33
+ {% - if webapp_supports_ui == 'y' %}
34
+ - node_modules:/extension/node_modules
35
+ {% - endif %}
25
36
env_file:
26
37
- .{{ project_slug }}_dev.env
27
38
@@ -33,5 +44,8 @@ services:
33
44
command: extension-test
34
45
volumes:
35
46
- .:/extension
47
+ {% - if webapp_supports_ui == 'y' %}
48
+ - node_modules:/extension/node_modules
49
+ {% - endif %}
36
50
env_file:
37
51
- .{{ project_slug }}_dev.env
You can’t perform that action at this time.
0 commit comments