mirror of
https://github.com/aykhans/movier.git
synced 2025-04-17 04:13:12 +00:00
20 lines
463 B
Docker
20 lines
463 B
Docker
FROM python:3.12.3-slim-bookworm
|
|
|
|
ENV UV_COMPILE_BYTECODE=1
|
|
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
|
|
RUN apt-get update && apt-get install -y curl
|
|
|
|
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.35
|
|
|
|
RUN curl -L -o /bin/grpc_health_probe \
|
|
https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
|
|
chmod +x /bin/grpc_health_probe
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN uv sync --frozen
|