mirror of
https://github.com/NohamR/AFP-RSS.git
synced 2026-07-11 22:40:11 +00:00
Add server + docker
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml ./
|
||||
|
||||
RUN uv sync --no-dev
|
||||
|
||||
COPY main.py ./
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["uv", "run", "python", "main.py"]
|
||||
Reference in New Issue
Block a user