Skip to content

Commit

Permalink
fix dockerfile to work with UV
Browse files Browse the repository at this point in the history
Had to switch to debian. feelsbadman
  • Loading branch information
ethancedwards8 committed Feb 7, 2025
1 parent 7812f89 commit 3f598a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.venv
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:alpine
FROM python
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

RUN apk update && apk add --no-cache ffmpeg uv clang gcompat
RUN apt-get update && apt-get -y install ffmpeg && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY ./pyproject.toml ./README.md /app/
RUN uv sync
COPY . /app
CMD ["uv", "run", "start"]
RUN uv sync
ENTRYPOINT ["uv", "run", "start"]

0 comments on commit 3f598a9

Please sign in to comment.