init
This commit is contained in:
13
Containerfile
Normal file
13
Containerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
|
||||
# Copy the project into the image
|
||||
COPY . /app
|
||||
|
||||
# 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 main.py
|
||||
Reference in New Issue
Block a user