mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 21:54:00 +02:00
working on making things work with docker
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user