File tree Expand file tree Collapse file tree 2 files changed +31
-23
lines changed
Expand file tree Collapse file tree 2 files changed +31
-23
lines changed Original file line number Diff line number Diff line change 1- .dockerignore
2- Dockerfile
3- __pycache__
4- * .pyc
5- * .pyo
6- * .pyd
7- .Python
8- env
9- pip-log.txt
10- pip-delete-this-directory.txt
11- .tox
12- .coverage
13- .coverage. *
14- .cache
15- coverage.xml
16- * ,cover
17- * .log
1+ # Git
182.git
3+ * .gitignore
4+
5+ # Python artifacts
6+ __pycache__ /
7+ .pytest_cache /
8+ .ruff_cache /
9+ .venv /
10+ venv /
11+ build /
12+ dist /
13+ * .egg-info /
14+ .coverage
15+
16+ # Docker/CI
17+ Dockerfile
18+ .dockerignore
19+ .circleci /
20+ .github /
21+ .pre-commit-config.yaml
22+
23+ # OS/IDEs
24+ .DS_Store
25+ .vscode /
26+ .idea /
Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ FROM --platform=linux/amd64 python:3.11
55# ##################
66
77RUN mkdir /src
8-
9- RUN pip install uv
10- RUN uv pip install --system .[all]
11-
128COPY . /src/
139WORKDIR /src
1410
15- RUN python setup.py develop
11+ # Install uv
12+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
13+
14+ RUN uv pip install --system -e .[all]
1615
1716# The /app directory can house the scripts that will actually execute on this Docker image.
1817# Eg. If using this image in a Civis container script, Civis will install your script repo
1918# (from Github) to /app.
2019RUN mkdir /app
2120WORKDIR /app
21+
2222# Useful for importing modules that are associated with your python scripts:
23- ENV PYTHONPATH=.:/app
23+ ENV PYTHONPATH=.:/app
You can’t perform that action at this time.
0 commit comments