17 lines
382 B
Docker
17 lines
382 B
Docker
FROM docker.io/library/python:latest
|
|
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
|
|
|
|
COPY . /app
|
|
|
|
# Sync the project into a new environment, using the frozen lockfile
|
|
WORKDIR /app
|
|
|
|
RUN uv pip install --system .
|
|
|
|
CMD [ \
|
|
"uvicorn", "treetrail.application:app", \
|
|
"--port", "8081", \
|
|
#"--log-config", "/app/config/logging.yaml", \
|
|
"--host", "0.0.0.0" \
|
|
]
|