mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 20:06:12 +08:00
use slim image
This commit is contained in:
parent
2b0a552468
commit
db5c0320bb
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1.2
|
# syntax=docker/dockerfile:1.2
|
||||||
FROM python:3.10
|
FROM python:3.10-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
python3 -m pip install poetry && poetry config virtualenvs.create false
|
python3 -m pip install poetry && poetry config virtualenvs.create false
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1.2
|
# syntax=docker/dockerfile:1.2
|
||||||
FROM python:3.10
|
FROM python:3.10-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
python3 -m pip install poetry && poetry config virtualenvs.create false
|
python3 -m pip install poetry && poetry config virtualenvs.create false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user