PMS61 commited on
Commit
7895c79
·
1 Parent(s): 3a70449
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official Python runtime as a parent image
2
- FROM python:3.11-slim
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
@@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
19
  COPY ./requirements.txt /code/requirements.txt
20
 
21
  # Install any needed packages specified in requirements.txt
22
- # We add gunicorn and gevent here for a production-ready web server
23
  RUN pip install --no-cache-dir --upgrade pip
24
  RUN pip install --no-cache-dir -r requirements.txt gunicorn gevent
25
 
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.10-slim
3
 
4
  # Set the working directory in the container
5
  WORKDIR /code
 
19
  COPY ./requirements.txt /code/requirements.txt
20
 
21
  # Install any needed packages specified in requirements.txt
22
+ # We add gunicorn here for a production-ready web server
23
  RUN pip install --no-cache-dir --upgrade pip
24
  RUN pip install --no-cache-dir -r requirements.txt gunicorn gevent
25