PromptWork / Dockerfile
jostlebot's picture
Switch to Docker SDK with Python 3.11 for stability
04fa03d
raw
history blame contribute delete
245 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose port
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]