multimodalart HF Staff commited on
Commit
cde23de
·
1 Parent(s): 5585ad5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -23,14 +23,8 @@ RUN rm /etc/nginx/sites-enabled/default
23
  COPY nginx.conf /etc/nginx/sites-available/
24
  RUN ln -s /etc/nginx/sites-available/nginx.conf /etc/nginx/sites-enabled/
25
 
26
- # Test Nginx config
27
- RUN nginx -t
28
-
29
- # Give execution permissions to start.sh
30
- RUN chmod +x start.sh
31
-
32
  # Expose port for the app
33
  EXPOSE 7680
34
 
35
  # Start the application
36
- CMD ["./start.sh"]
 
23
  COPY nginx.conf /etc/nginx/sites-available/
24
  RUN ln -s /etc/nginx/sites-available/nginx.conf /etc/nginx/sites-enabled/
25
 
 
 
 
 
 
 
26
  # Expose port for the app
27
  EXPOSE 7680
28
 
29
  # Start the application
30
+ CMD service nginx start && python app.py