This commit is contained in:
1 parent
8580cece27
commit
b0cf9f99c1
1 file changed
+4
-2
+4
-2
@@ -1,4 +1,4 @@
|
||||
FROM python:3.14-slim
|
||||
FROM python:3.14-alpine
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
@@ -6,7 +6,9 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN apk add --no-cache --virtual .build-deps gcc musl-dev linux-headers python3-dev \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
&& apk del .build-deps
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in new issue
Block a user