Vitrous commited on
Commit
95a8091
·
verified ·
1 Parent(s): 7afede0

Update Dockerfile

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