vab42 commited on
Commit
af07cac
·
verified ·
1 Parent(s): 3645bd0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -6,13 +6,10 @@ RUN apt-get update && apt-get install -y \
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  WORKDIR /app
9
- COPY . .
10
 
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- ENV FLASK_APP=app.py
14
- ENV FLASK_ENV=production
15
-
16
- EXPOSE 7860
17
 
18
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "app:app"]
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  WORKDIR /app
 
9
 
10
+ COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ COPY . .
 
 
 
14
 
15
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "app:app"]