openapi-remember/Dockerfile
2025-09-08 23:40:14 +02:00

18 lines
334 B
Docker

# Use Python 3.9 slim image as base
FROM python:3.9-slim
# Set working directory in container
WORKDIR /app
# Copy the application code
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port (assuming the app runs on port 8000)
EXPOSE 8000
# Run the application
CMD ["python", "main.py"]