Files
portainer-core/services/OBSOLETE_core-ai/Dockerfile
T
2025-12-07 19:26:40 +01:00

19 lines
367 B
Docker

# Use a Python base image
FROM python:3.12-slim-bookworm
# Set working directory
WORKDIR /app
# Copy requirements file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . .
# Expose the port the app runs on
EXPOSE 8084
# Run the application
CMD ["python", "main.py"]