Akshat1000 commited on
Commit
d651113
·
verified ·
1 Parent(s): d9c570f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,8 +7,11 @@ WORKDIR /app
7
  COPY --chown=user ./requirements.txt requirements.txt
8
 
9
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
10
- RUN python getans.py
11
  COPY --chown=user . /app
12
 
 
 
 
13
  # Set gunicorn as entrypoint with default arguments
14
  ENTRYPOINT ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
 
7
  COPY --chown=user ./requirements.txt requirements.txt
8
 
9
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
10
+
11
  COPY --chown=user . /app
12
 
13
+ RUN python getans.py
14
+
15
+ RUN python getans.py
16
  # Set gunicorn as entrypoint with default arguments
17
  ENTRYPOINT ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]