New paste Use cases Explore public pastes Text tools Developer API The Paste Library Security Sign in with Google
DOCKERExample pasteCreated 2026-07-291 viewNo expiry

Multi-stage Python container build

Raw New paste
dockerRead-only
1
FROM python:3.13-slim AS builder
WORKDIR /build
COPY requirements.txt .
RUN pip wheel --no-cache-dir --wheel-dir /wheels -r requirements.txt

FROM python:3.13-slim
WORKDIR /app
COPY --from=builder /wheels /wheels
RUN pip install --no-cache-dir /wheels/* && rm -rf /wheels
COPY . .
USER 10001
CMD ["python", "run.py"]
Report abuse

Paste details

Visibility
Public
Size
316 bytes
Protection
Standard link access
Retention
No automatic expiry

Share with confidence

Unlisted links are not searchable, but anyone with the URL can open them. Never paste live credentials or personal data.