Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
@@ -6,6 +6,7 @@ WORKDIR /code
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
@@ -23,12 +24,6 @@ WORKDIR $HOME/app
|
|
23 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
24 |
COPY --chown=user . $HOME/app
|
25 |
|
26 |
-
# Copy additional directories from your local machine into the container
|
27 |
-
#COPY --chown=user ./aspect_extraction_model $HOME/app/aspect_extraction_model
|
28 |
-
#COPY --chown=user ./aspect_extraction_tokenizer $HOME/app/aspect_extraction_tokenizer
|
29 |
-
|
30 |
-
#COPY --chown=user ./aspect_sentiment_model $HOME/app/aspect_sentiment_model
|
31 |
-
#COPY --chown=user ./aspect_sentiment_tokenizer $HOME/app/aspect_sentiment_tokenizer
|
32 |
|
33 |
|
34 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
|
|
6 |
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
+
COPY ./stop-words.tr.txt /code/stop-words.tr.txt
|
10 |
|
11 |
# Install requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
24 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
25 |
COPY --chown=user . $HOME/app
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
|
29 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|