Spaces:
Runtime error
Runtime error
Commit
·
836ba26
1
Parent(s):
bea1d24
Add application file
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
-
COPY --chown=user
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
# download spacy model and nltk resources at build time
|
@@ -18,5 +18,4 @@ PY
|
|
18 |
|
19 |
EXPOSE 7860
|
20 |
|
21 |
-
COPY --chown=user . /app
|
22 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
+
COPY --chown=user . /app
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
# download spacy model and nltk resources at build time
|
|
|
18 |
|
19 |
EXPOSE 7860
|
20 |
|
|
|
21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|