mirror of
https://github.com/NohamR/AFP-RSS.git
synced 2026-11-25 15:19:56 +00:00
Add server + docker
This commit is contained in:
commit
0c64b0200a
7 files changed
+815
No files matched your search
+15
@@ -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