Skip to content

Commit 8521b3a

Browse files
committed
fix dockerfile
1 parent 9d926e0 commit 8521b3a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ FROM --platform=linux/amd64 python:3.11
44
## Parsons setup ##
55
###################
66

7-
RUN mkdir /src
7+
WORKDIR /src
88

99
RUN pip install uv
10+
COPY pyproject.toml setup.py /src/
11+
1012
RUN uv pip install --system .[all]
1113

1214
COPY . /src/
13-
WORKDIR /src
1415

1516
RUN python setup.py develop
1617

@@ -19,5 +20,6 @@ RUN python setup.py develop
1920
# (from Github) to /app.
2021
RUN mkdir /app
2122
WORKDIR /app
23+
2224
# Useful for importing modules that are associated with your python scripts:
2325
ENV PYTHONPATH=.:/app

0 commit comments

Comments
 (0)