-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv is faster and simpler than poetry. It solves the issue of managing different python version very conveniently. It is from the creators of ruff. https://github.com/astral-sh/uv
- Loading branch information
1 parent
96c717d
commit 71673b1
Showing
17 changed files
with
1,464 additions
and
2,404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,13 @@ FROM debian:stable | |
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y python3 python3-poetry | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y pipx | ||
|
||
WORKDIR /app/gallia | ||
COPY . . | ||
RUN ["poetry", "install"] | ||
|
||
ENTRYPOINT [ "poetry", "run", "gallia" ] | ||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN ["pipx", "install", "uv"] | ||
RUN ["uv", "sync"] | ||
|
||
ENTRYPOINT [ "uv", "run", "gallia" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.