Skip to content

Commit

Permalink
optimized Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 18, 2024
1 parent 4e3473e commit 30cb2b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY . .

CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
RUN mkdir /.cache .chroma && chmod 777 /.cache .chroma

RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir .chroma
RUN chmod 777 .chroma
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]

0 comments on commit 30cb2b9

Please sign in to comment.