Update debugging step in CI workflow to list all files with human-readable sizes
All checks were successful
CI / ci (push) Successful in 6s
All checks were successful
CI / ci (push) Successful in 6s
This commit is contained in:
parent
1d49e9c3f9
commit
dd2805b7f0
4 changed files with 12 additions and 39 deletions
21
Dockerfile
21
Dockerfile
|
|
@ -1,21 +0,0 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# check=error=true;experimental=all
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
||||
|
||||
# Change the working directory to the `app` directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||
uv sync --no-install-project
|
||||
|
||||
# Copy the application file
|
||||
COPY main.py /app/
|
||||
|
||||
# Set the environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
# Run the application
|
||||
CMD ["uv", "run", "main.py"]
|
||||
Loading…
Reference in a new issue