Jensen-holm commited on
Commit
e735ea1
·
1 Parent(s): fd4ce9c

re configuring dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -8,10 +8,10 @@ WORKDIR /app
8
  COPY . /app
9
 
10
  # Install any needed packages specified in requirements.txt
11
- RUN pip3 install -r requirements.txt
12
 
13
- # Make port 80 available to the world outside this container
14
- EXPOSE 80
15
 
16
- # Run the Gunicorn server with 4 worker processes
17
- CMD ["gunicorn", "--bind", "0.0.0.0:80", "--workers", "4", "app:app"]
 
8
  COPY . /app
9
 
10
  # Install any needed packages specified in requirements.txt
11
+ RUN pip install --trusted-host pypi.python.org -r requirements.txt
12
 
13
+ # Expose port 8080 for Render to proxy traffic to
14
+ EXPOSE 8080
15
 
16
+ # Start the Gunicorn server
17
+ CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--workers", "4", "app:app"]