File tree Expand file tree Collapse file tree 2 files changed +32
-22
lines changed
Expand file tree Collapse file tree 2 files changed +32
-22
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 @@ -4,20 +4,22 @@ FROM --platform=linux/amd64 python:3.11
44# # Parsons setup ##
55# ##################
66
7- RUN mkdir /src
7+ WORKDIR /src
8+
9+ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
10+ COPY pyproject.toml setup.py README.md /src/
811
9- RUN pip install uv
10- RUN uv pip install --system .[all]
12+ RUN uv pip install --system --no-cache .[all]
1113
1214COPY . /src/
13- WORKDIR /src
1415
15- RUN python setup.py develop
16+ RUN uv pip install --system --no-cache -e .
1617
1718# The /app directory can house the scripts that will actually execute on this Docker image.
1819# Eg. If using this image in a Civis container script, Civis will install your script repo
1920# (from Github) to /app.
2021RUN mkdir /app
2122WORKDIR /app
23+
2224# Useful for importing modules that are associated with your python scripts:
2325ENV PYTHONPATH=.:/app
You can’t perform that action at this time.
0 commit comments