Files
hello-cicd/Dockerfile
danielvasic 31d774b751
Some checks failed
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
init: hello-cicd project setup
2026-04-14 12:44:00 +02:00

15 lines
286 B
Docker

# 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"]