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

Don't store a pip cache in the generated docker #23

Merged
merged 2 commits into from Dec 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions bot/Dockerfile
Expand Up @@ -12,8 +12,8 @@ ENV WEBHOOK_SECRET=webhook_secret
COPY ./main.py ./main.py
COPY ./requirements.txt ./requirements.txt

RUN python -m pip install --upgrade pip wheel
RUN python -m pip install -r requirements.txt
RUN python -m pip install --no-cache-dir wheel && /
python -m pip install --no-cache-dir -r requirements.txt

# TODO: https://github.com/ome/devspace/issues/38?
ENTRYPOINT ["python", "-m", "uvicorn", "main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]