Use Alpine images to reduce image size
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Raoul Snyman 2023-07-29 22:15:13 -07:00
parent eceffadf1a
commit f3b60f4c39
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
FROM python:3.11 FROM python:3.11-alpine
WORKDIR /app WORKDIR /app
ADD . /app ADD . /app
RUN apk add git
RUN pip install -e . RUN pip install -e .
RUN pip install hypercorn RUN pip install hypercorn

View File

@ -1,4 +1,4 @@
FROM python:3.11 FROM python:3.11-alpine
RUN pip install --extra-index-url https://git.snyman.info/api/packages/raoul/pypi/simple/ CodeSmidgen hypercorn RUN pip install --extra-index-url https://git.snyman.info/api/packages/raoul/pypi/simple/ CodeSmidgen hypercorn