All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 22s
14 lines
340 B
Docker
14 lines
340 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", "post_llama.py", "/input/input.txt"] |