zacetni test

This commit is contained in:
2025-05-14 18:22:18 +02:00
commit af4656db68
6 changed files with 330 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Use official Python base image
FROM python:3.11-slim
# Set environment variables
# Set working directory
WORKDIR /app
# Copy requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy the rest of the app
COPY . .
# Expose port (change if needed)
EXPOSE 8000
# Run the application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]