init: hello-cicd project setup
Some checks failed
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
2026-04-14 12:41:24 +02:00
commit 31d774b751
6 changed files with 143 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# 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"]