npc0 commited on
Commit
4c08ecb
·
verified ·
1 Parent(s): b58c86e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,14 +7,14 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
7
 
8
  WORKDIR /app
9
  COPY . /app
10
- RUN chmod 766 /app
11
 
12
  RUN python3 -m venv /app/env
13
  ENV PATH="/app/env/bin:$PATH"
14
  RUN pip install --no-cache-dir --upgrade pip
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
- RUN touch tmp.pl && chmod 666 tmp.pl
 
18
 
19
  EXPOSE 7860
20
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
7
 
8
  WORKDIR /app
9
  COPY . /app
 
10
 
11
  RUN python3 -m venv /app/env
12
  ENV PATH="/app/env/bin:$PATH"
13
  RUN pip install --no-cache-dir --upgrade pip
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
+ RUN touch tmp.pl
17
+ RUN chmod 766 /app /app/env tmp.pl
18
 
19
  EXPOSE 7860
20
  ENV GRADIO_SERVER_NAME="0.0.0.0"