Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Set PYTHONPATH to make sure /app is available
Browse files Browse the repository at this point in the history
Got an error `/usr/local/bin/python: No module named release_often` on another repo where this repo is obviously not checked out.
  • Loading branch information
brettcannon authored Apr 7, 2020
1 parent 890d942 commit f34de00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get -qy update && apt-get -qy install git && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/*

WORKDIR /app
ENV PYTHONPATH "/app:${PYTHONPATH}"

COPY pyproject.toml .
COPY poetry.lock .
Expand Down

0 comments on commit f34de00

Please sign in to comment.