Add Docker Build Check workflow and update Dockerfile syntax and commands
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
# check=error=true
|
||||
# check=error=true;experimental=all
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim@sha256:73c021c3fe7264924877039e8a449ad3bb380ec89214282301affa9b2f863c5d
|
||||
|
||||
# Change the working directory to the `app` directory
|
||||
@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv sync --no-install-project
|
||||
|
||||
# Copy the application files
|
||||
ADD main.py misc.py settings.py /app/
|
||||
COPY main.py misc.py settings.py /app/
|
||||
|
||||
# Set the environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
Reference in New Issue
Block a user