Skip to content

Commit

Permalink
fix: Set working directory in Dockerfile and update CMD to use absolu…
Browse files Browse the repository at this point in the history
…te path for webui.py
  • Loading branch information
provos committed Jan 3, 2025
1 parent ddacdeb commit ef6c664
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

FROM python:3.10-slim

RUN apt-get update && apt-get install -y git ffmpeg
Expand All @@ -15,4 +14,6 @@ VOLUME ["/root/.cache/"]
# The working directory can be mounted to /app/workdir
VOLUME ["/app/workdir"]

CMD ["python", "webui.py"]
WORKDIR /app/workdir

CMD ["python", "/app/webui.py"]

0 comments on commit ef6c664

Please sign in to comment.