-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert to a uv based workflow
- Loading branch information
1 parent
2b4794b
commit 3292d3f
Showing
9 changed files
with
2,822 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
FROM python:3.8.19-alpine3.18 | ||
|
||
ENV TZ America/New_York | ||
ENV C_FORCE_ROOT true | ||
ENV TZ=America/New_York | ||
ENV C_FORCE_ROOT=true | ||
|
||
COPY config/krb5.conf /etc/krb5.conf | ||
COPY requirements.txt . | ||
COPY requirements-dev.txt . | ||
COPY pyproject.toml . | ||
|
||
COPY --from=ghcr.io/astral-sh/uv:0.4.10 /uv /bin/uv | ||
|
||
RUN apk update && \ | ||
apk add bash git curl build-base libpq-dev freetype-dev libffi-dev ruby-full libmagic krb5 kinit rsync nodejs npm tzdata libxml2-dev libxslt-dev && \ | ||
npm install -g sass && \ | ||
ln -s /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ | ||
pip3 install -Ir requirements.txt && \ | ||
pip3 install -Ir requirements-dev.txt && \ | ||
rm requirements.txt requirements-dev.txt | ||
# note that this also includes dev dependencies: pass --no-dev to exclude them | ||
uv sync --no-install-project | ||
|
||
ENV PATH="/.venv/bin:${PATH}" | ||
|
||
WORKDIR /ion |
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.
Oops, something went wrong.