Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Dockerfile-dev so it creates the lando-api-dev script #18

Merged
merged 1 commit into from
Jun 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
mars-f committed Jun 30, 2017
commit ffc50eee1d21e1b19a3a06adf86dc4ed2903c6c3
2 changes: 1 addition & 1 deletion docker/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -44,6 +44,6 @@ WORKDIR /app
# We install outside of the app directory to create the .egg-info in a
# location that will not be mounted over. This means /app needs to be
# added to PYTHONPATH though.
ENV PYTHONPATH /app
RUN cd / && pip install --no-cache /app
ENV PYTHONPATH /app
CMD ["lando-api-dev"]