use slim image

This commit is contained in:
felinae98 2022-08-04 17:19:48 +08:00
parent 2b0a552468
commit db5c0320bb
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.2
FROM python:3.10
FROM python:3.10-slim
WORKDIR /app
RUN --mount=type=cache,target=/root/.cache/pip \
python3 -m pip install poetry && poetry config virtualenvs.create false

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.2
FROM python:3.10
FROM python:3.10-slim
WORKDIR /app
RUN --mount=type=cache,target=/root/.cache/pip \
python3 -m pip install poetry && poetry config virtualenvs.create false