mirror of
https://github.com/sfiorini/iptv-server.git
synced 2026-04-11 09:20:45 +00:00
First commit
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install uv && uv pip install -e .
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV SUPER_ADMIN_USER=admin
|
||||
ENV SUPER_ADMIN_PASSWORD=adminpassword
|
||||
ENV DATABASE_PATH=/data/users.db
|
||||
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user