Use Alpine images to reduce image size
This commit is contained in:
parent
eceffadf1a
commit
f3b60f4c39
@ -1,7 +1,8 @@
|
||||
FROM python:3.11
|
||||
FROM python:3.11-alpine
|
||||
|
||||
WORKDIR /app
|
||||
ADD . /app
|
||||
RUN apk add git
|
||||
RUN pip install -e .
|
||||
RUN pip install hypercorn
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user