Spaces:
Sleeping
Sleeping
mzimm003
commited on
Commit
·
a4286ea
1
Parent(s):
9437344
Update for hosting on huggingface.
Browse files- Dockerfile +3 -0
- requirements.txt +5 -1
Dockerfile
CHANGED
@@ -12,5 +12,8 @@ WORKDIR /app
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
|
|
|
|
|
|
15 |
COPY --chown=user . /app
|
16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
+
RUN git clone https://github.com/mzimm003/Chess /app/Chess
|
16 |
+
RUN python setup.py develop
|
17 |
+
|
18 |
COPY --chown=user . /app
|
19 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
@@ -1 +1,5 @@
|
|
1 |
-
uvicorn
|
|
|
|
|
|
|
|
|
|
1 |
+
uvicorn
|
2 |
+
ray==2.9.3
|
3 |
+
ray[tune]==2.9.3
|
4 |
+
torch==1.13.1
|
5 |
+
pygame==2.1.3.dev8
|