working on making things work with docker

This commit is contained in:
maxDorninger
2025-05-29 23:57:26 +02:00
parent 88c72e3303
commit 71cbed8a6f
6 changed files with 51 additions and 10 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM ghcr.io/astral-sh/uv:debian-slim
ARG VERSION
LABEL version=${VERSION}
LABEL description="Docker image for the backend of MediaManager"
WORKDIR /app
COPY media_manager ./media_manager
COPY alembic ./alembic
COPY alembic.ini .
COPY pyproject.toml .
COPY uv.lock .
RUN uv sync --locked
EXPOSE 8000
CMD ["uv", "run", "fastapi", "run", "/app/media_manager/main.py"]