File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
microservices/the_monkeys_reports Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
1+ FROM ghcr.io/astral-sh/uv:python3.12-alpine
22COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
33
44ENV UV_COMPILE_BYTECODE=1
55ENV UV_NO_INSTALLER_METADATA=1
66ENV UV_LINK_MODE=copy
77ENV UV_TOOL_BIN_DIR=/usr/local/bin
88
9- ARG MICROSERVICE_REPORTS_SERVICE_INTERNAL_PORT
10-
119WORKDIR /app
1210
13- RUN apt-get update && \
14- apt-get install -y -- no-install-recommends \
11+ RUN apk update && \
12+ apk add -- no-cache \
1513 libpq-dev \
16- gcc \
17- && rm -rf /var/lib/apt/lists/*
14+ gcc
1815
1916
2017RUN --mount=type=cache,target=/root/.cache/uv \
@@ -28,6 +25,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \
2825
2926ENV PATH="/app/.venv/bin:$PATH"
3027
31- EXPOSE $MICROSERVICE_REPORTS_SERVICE_INTERNAL_PORT
32-
3328CMD ["python" , "main.py" ]
You can’t perform that action at this time.
0 commit comments