This commit is contained in:
2026-06-09 10:41:46 +02:00
commit b0fe0c3539
7 changed files with 110 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# TODO: napiši Dockerfile
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
# Kopiraj requirements.txt, pip install, zatim kopiraj app/
# EXPOSE 8000
# CMD uvicorn app.main:app --host 0.0.0.0 --port 8000