Spaces:
Runtime error
Runtime error
Add application file
Browse files- Dockerfile +9 -9
Dockerfile
CHANGED
|
@@ -4,15 +4,15 @@ WORKDIR /code
|
|
| 4 |
# Copy the requirements file and install dependencies
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 7 |
-
COPY ./s2smodels.py /code
|
| 8 |
-
COPY ./macros.py /code
|
| 9 |
-
COPY ./utils /code
|
| 10 |
-
COPY ./modules /code
|
| 11 |
-
COPY ./models /code
|
| 12 |
-
COPY ./data /code
|
| 13 |
-
COPY ./prompts /code
|
| 14 |
-
COPY ./customs /code
|
| 15 |
-
COPY ./main.py /code
|
| 16 |
|
| 17 |
# Specify the command to run the application
|
| 18 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|
|
|
|
| 4 |
# Copy the requirements file and install dependencies
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 7 |
+
COPY ./s2smodels.py /code/
|
| 8 |
+
COPY ./macros.py /code/
|
| 9 |
+
COPY ./utils /code/utils/
|
| 10 |
+
COPY ./modules /code/modules/
|
| 11 |
+
COPY ./models /code/models/
|
| 12 |
+
COPY ./data /code/data/
|
| 13 |
+
COPY ./prompts /code/prompts/
|
| 14 |
+
COPY ./customs /code/customs/
|
| 15 |
+
COPY ./main.py /code/
|
| 16 |
|
| 17 |
# Specify the command to run the application
|
| 18 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
|