Peiyan commited on
Commit
2b02f32
·
verified ·
1 Parent(s): 2a67c57

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -41,11 +41,11 @@ RUN mkdir -p /var/log/nginx && \
41
  mkdir -p /run && \
42
  chmod -R 777 /run
43
 
44
- # Step #3: configure nginx and flask
45
- COPY --from=build-step /app/frontend/build /usr/share/nginx/html
46
- COPY deployment/docker/nginx.conf /etc/nginx/nginx.conf
47
- COPY deployment/docker/serve.sh /serve.sh
48
- RUN chmod a+x /serve.sh
49
 
50
 
51
  # Expose port 8080
 
41
  mkdir -p /run && \
42
  chmod -R 777 /run
43
 
44
+ # Step #3: Configure nginx and flask
45
+ COPY --from=build-step /app/frontend/build /var/www/html
46
+ COPY deployment/docker/nginx.conf /etc/nginx/sites-enabled/default
47
+ COPY deployment/docker/serve.sh .
48
+ RUN chmod +x ./serve.sh
49
 
50
 
51
  # Expose port 8080