thewellermangroup commited on
Commit
067a5f1
·
1 Parent(s): 30bdc01

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -13,18 +13,19 @@ WORKDIR $HOME/app
13
 
14
  COPY --chown=user . $HOME/app
15
 
16
- COPY start.sh start.sh
17
- COPY FUNCTIONS.txt FUNCTIONS.txt
18
- COPY functions.py functions.py
19
- COPY app.py app.py
20
 
21
  RUN pip install flask
22
  RUN pip install gunicorn
23
  RUN pip install flask-cors
24
 
 
 
 
 
25
 
26
- # Grant execute permissions to the start script
27
  RUN chmod +x start.sh
28
 
 
29
  # Command to start the Flask app with Gunicorn
30
  CMD ["./start.sh"]
 
13
 
14
  COPY --chown=user . $HOME/app
15
 
 
 
 
 
16
 
17
  RUN pip install flask
18
  RUN pip install gunicorn
19
  RUN pip install flask-cors
20
 
21
+ # Copy the file creation and application startup scripts
22
+ COPY --chown=user start.sh start.sh
23
+ COPY --chown=user create_large_file.py create_large_file.py
24
+ COPY --chown=user app.py app.py
25
 
26
+ # Grant execute permission to the start script
27
  RUN chmod +x start.sh
28
 
29
+
30
  # Command to start the Flask app with Gunicorn
31
  CMD ["./start.sh"]