Skip to content

Commit 67df40c

Browse files
committed
Don't install an editable version in the dev image
This causes the required egg-info to be created in the source directory, which is mounted in when running the dev container and can cause issues. Because the source is on the PYTHONPATH any edits mounted into the container will be used over the installed source
1 parent 4ca6ab1 commit 67df40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY pypgstac/requirements-dev.txt /opt/src/pypgstac/requirements-dev.txt
1010
RUN pip install -r requirements-dev.txt
1111

1212
COPY pypgstac /opt/src/pypgstac
13-
RUN pip install -e .
13+
RUN pip install .
1414

1515
ENV PYTHONPATH=/opt/src/pypgstac:${PYTHONPATH}
1616

0 commit comments

Comments
 (0)