diff --git a/Dockerfile b/Dockerfile index 71d3494..1a61499 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,11 @@ FROM python:3.12-slim-bookworm AS base FROM base AS builder COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv -COPY pyproject.toml uv.lock /app +RUN mkdir -p /app +COPY pyproject.toml /app/pyproject.toml +COPY uv.lock /app/uv.lock WORKDIR /app RUN uv sync --frozen -COPY . /app +COPY .data /app/.data +COPY worldtimezone /app/worldtimezone CMD [ "uv", "run", "python", "-O", "./worldtimezone/__main__.py" ]