mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 09:06:26 +00:00
Add Dockerfile and .dockerignore; refactor import paths in app modules
This commit is contained in:
11
services/device_manager/Dockerfile
Normal file
11
services/device_manager/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
|
||||
COPY ./pyproject.toml ./
|
||||
|
||||
COPY ./uv.lock ./
|
||||
|
||||
RUN uv sync
|
||||
|
||||
COPY ./app/ ./app/
|
||||
|
||||
ENTRYPOINT [ "uv", "run", "uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "8000" ]
|
||||
Reference in New Issue
Block a user