dfa32412 commited on
Commit
9572f79
·
verified ·
1 Parent(s): 0c04cfb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -21,5 +21,10 @@ run chmod 777 /var/log/nginx
21
  RUN apt update && \
22
  apt install -y nginx
23
 
 
 
 
 
 
24
 
25
  cmd nginx -c /app/nginx.conf && npm start
 
21
  RUN apt update && \
22
  apt install -y nginx
23
 
24
+ WORKDIR /app/public
25
+ run npm i && npm run build
26
+
27
+ WORKDIR /app
28
+
29
 
30
  cmd nginx -c /app/nginx.conf && npm start