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

Set the PYTHONPATH #25

Merged
merged 2 commits into from
Apr 8, 2020
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
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ RUN python -m pip --disable-pip-version-check --no-cache-dir --quiet install poe

COPY pyproject.toml .
COPY poetry.lock .
# In case GitHub Actions ever starts caching intermediate containers, install the source in a separate step.
RUN poetry install --quiet --no-interaction --no-ansi --no-dev --no-root

ADD release_often ./release_often
ENV PYTHONPATH "/app:${PYTHONPATH}"

# During debugging, this entry point will be overridden. For more information, refer to https://aka.ms/vscode-docker-python-debug
# When GitHub executes this action, CWD is set to $GITHUB_WORKSPACE, **not** WORKDIR.
ENTRYPOINT ["python", "-m", "release_often"]