Adding teaching_arthmetic.git
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
#
|
2 |
-
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
FROM python:3.9
|
5 |
|
@@ -12,5 +11,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"]
|
|
|
1 |
+
# Documentation: https://huggingface.co/docs/hub/spaces-sdks-docker
|
|
|
2 |
|
3 |
FROM python:3.9
|
4 |
|
|
|
11 |
COPY --chown=user ./requirements.txt requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
+
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic && cd teaching_arithmetic && pip install -e .
|
15 |
+
|
16 |
+
|
17 |
COPY --chown=user . /app
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|