Skip to content

Commit

Permalink
Don't store a pip cache in the generated docker (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding committed Dec 27, 2022
1 parent 9592276 commit b539df1
Showing 1 changed file with 2 additions and 2 deletions.
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"]

0 comments on commit b539df1

Please sign in to comment.