init: hello-cicd project setup

This commit is contained in:
Ivan Filipovic
2026-04-14 10:35:36 +02:00
parent 3104c4b95a
commit 6f3f7efbd9
6 changed files with 77 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# Dockerfile
FROM python:3.12-slim
WORKDIR /app
# Kopiraj requirements PRIJE koda — cache trick!
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV APP_VERSION=dev
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]