Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -16,5 +16,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 16 |
# Copy app code
|
| 17 |
COPY app /code/app
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Expose port and run
|
| 20 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 16 |
# Copy app code
|
| 17 |
COPY app /code/app
|
| 18 |
|
| 19 |
+
# Copy model
|
| 20 |
+
COPY app/bert-model /code/app/bert-model
|
| 21 |
+
|
| 22 |
# Expose port and run
|
| 23 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|