We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7a7029 + f5ece79 commit 3942c92Copy full SHA for 3942c92
2 files changed
Dockerfile
@@ -8,6 +8,7 @@ RUN npm install
8
9
WORKDIR /home/node/app/frontend
10
RUN npm install
11
+RUN npm run build
12
13
WORKDIR /home/node/app
14
dockerRunnerProd.sh
@@ -1,7 +1,8 @@
1
#!/bin/sh
2
3
cd frontend
4
-( npm run start ) & SERVER_PID=$!
+npm run build
5
+( npm run preview ) & SERVER_PID=$!
6
7
cd ../backend
( npm run start ) & BACKEND_SERVER_PID=$!
0 commit comments