Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
| 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"]
|