14 lines
341 B
Docker
14 lines
341 B
Docker
FROM ghcr.io/astral-sh/uv:alpine3.22
|
|
|
|
# Copy the project into the image
|
|
COPY . /app
|
|
COPY example.txt /input/input.txt
|
|
|
|
# Disable development dependencies
|
|
ENV UV_NO_DEV=1
|
|
|
|
# Sync the project into a new environment, asserting the lockfile is up to date
|
|
WORKDIR /app
|
|
RUN uv sync --locked
|
|
|
|
CMD ["uv", "run", "disk_report.py", "/input/input.txt"] |