Spaces:
Runtime error
Runtime error
Commit
·
2ef055f
1
Parent(s):
12df117
pulling db
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -38,9 +38,13 @@ COPY --chown=user . $HOME/app
|
|
| 38 |
RUN npm install --force
|
| 39 |
RUN npm run build
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 42 |
|
| 43 |
|
| 44 |
# # Download a checkpoint
|
| 45 |
# RUN mkdir content
|
| 46 |
-
# ADD --chown=user https://<SOME_ASSET_URL> content/<SOME_ASSET_NAME>
|
|
|
|
| 38 |
RUN npm install --force
|
| 39 |
RUN npm run build
|
| 40 |
|
| 41 |
+
ADD --chown=user https://huggingface.co/HuggingFaceTB/simplewiki-pruned-text-350k/blob/main/wikihop.db wikihop.db
|
| 42 |
+
|
| 43 |
+
ENV WIKISPEEDIA_DB_PATH=/home/user/app/wikihop.db
|
| 44 |
+
|
| 45 |
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 46 |
|
| 47 |
|
| 48 |
# # Download a checkpoint
|
| 49 |
# RUN mkdir content
|
| 50 |
+
# ADD --chown=user https://<SOME_ASSET_URL> content/<SOME_ASSET_NAME>
|