Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -16,8 +16,6 @@ COPY ./requirements.txt /code/requirements.txt
|
|
16 |
# For hugging face
|
17 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
18 |
|
19 |
-
|
20 |
-
|
21 |
# Set up user and environment
|
22 |
RUN useradd -m -u 1000 user
|
23 |
USER user
|
@@ -30,9 +28,6 @@ WORKDIR $HOME/app
|
|
30 |
# Copy the application files into the container
|
31 |
COPY --chown=user . $HOME/app
|
32 |
|
33 |
-
# Give read and write permissions to the conversations.jsonl file
|
34 |
-
RUN chmod 666 /code/conversations.jsonl
|
35 |
-
|
36 |
# Start uvicorn server with multiple workers
|
37 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
38 |
|
|
|
16 |
# For hugging face
|
17 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
18 |
|
|
|
|
|
19 |
# Set up user and environment
|
20 |
RUN useradd -m -u 1000 user
|
21 |
USER user
|
|
|
28 |
# Copy the application files into the container
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
|
|
|
|
|
|
31 |
# Start uvicorn server with multiple workers
|
32 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
33 |
|