Skip to content

Commit 233c414

Browse files
committedJun 30, 2017
Fix Dockerfile-dev so it creates the lando-api-dev script
pip won't generate scripts listed in setup.py's entry_points if the module is already available in the PYTHONPATH. Scripts in the dev environment, like lando-api-dev, are not being generated as a result. Change when we set the PYTHONPATH environment variable in the dev environment Dockerfile so pip will generate the scripts once again.
1 parent 96c72c4 commit 233c414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docker/Dockerfile-dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ WORKDIR /app
4444
# We install outside of the app directory to create the .egg-info in a
4545
# location that will not be mounted over. This means /app needs to be
4646
# added to PYTHONPATH though.
47-
ENV PYTHONPATH /app
4847
RUN cd / && pip install --no-cache /app
48+
ENV PYTHONPATH /app
4949
CMD ["lando-api-dev"]

0 commit comments

Comments
 (0)
Failed to load comments.