Commit
·
aed7d3c
1
Parent(s):
475ca58
Delete dockerfile
Browse files- dockerfile +0 -19
dockerfile
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
FROM python:3.9
|
2 |
-
|
3 |
-
WORKDIR /code
|
4 |
-
|
5 |
-
COPY ./requirements.txt /code/requirements.txt
|
6 |
-
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
-
|
9 |
-
# Copy the model to the container
|
10 |
-
COPY gyesibiney/Sentiment-review-analysis-roberta-3 .
|
11 |
-
|
12 |
-
# Copy the FastAPI app code to the container
|
13 |
-
COPY main.py .
|
14 |
-
|
15 |
-
# Expose the port the FastAPI app will run on
|
16 |
-
EXPOSE 7860
|
17 |
-
|
18 |
-
# The CMD instruction specifies the command to run when the container starts
|
19 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|