Skip to content

Commit

Permalink
fix: make docker use normal uv stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AstreaTSS committed Aug 24, 2024
1 parent 42f4da3 commit 17dbddd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ WORKDIR /app
# allows git to work with the directory, making commands like /about better
RUN git config --global --add safe.directory /app

RUN uv sync

ENV VIRTUAL_ENV=/app/.venv
ENV PATH="/app/.venv/bin:$PATH"

# no idea why we can't use uv run, but oh well
RUN uv pip install --system -r requirements.txt
RUN python -m prisma generate

CMD [ "python", "main.py" ]

0 comments on commit 17dbddd

Please sign in to comment.