Spaces:
Runtime error
Runtime error
carolanderson
commited on
Commit
•
91616c1
1
Parent(s):
9d6476a
use npm build and start
Browse files- Dockerfile +3 -1
- run_app.sh +1 -1
Dockerfile
CHANGED
@@ -12,7 +12,9 @@ RUN apt-get update \
|
|
12 |
&& pip3 install -r requirements.txt
|
13 |
|
14 |
RUN npm install --global rollup \
|
15 |
-
&& npm install --save-dev svelte rollup-plugin-svelte --legacy-peer-deps
|
|
|
|
|
16 |
|
17 |
ENV HOST=0.0.0.0
|
18 |
EXPOSE 5001
|
|
|
12 |
&& pip3 install -r requirements.txt
|
13 |
|
14 |
RUN npm install --global rollup \
|
15 |
+
&& npm install --save-dev svelte rollup-plugin-svelte --legacy-peer-deps \
|
16 |
+
&& cd indie_label_svelte \
|
17 |
+
&& npm run build
|
18 |
|
19 |
ENV HOST=0.0.0.0
|
20 |
EXPOSE 5001
|
run_app.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
cd indie_label_svelte
|
4 |
-
|
5 |
cd ..
|
6 |
python3 server.py
|
7 |
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
cd indie_label_svelte
|
4 |
+
npm start &
|
5 |
cd ..
|
6 |
python3 server.py
|
7 |
|