use slim image

This commit is contained in:
felinae98
2022-08-04 17:19:48 +08:00
parent 2b0a552468
commit db5c0320bb
2 changed files with 2 additions and 2 deletions
+1 -1
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
+1 -1
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