aura-ui-prototype / Dockerfile
Trae Assistant
Update: Enhance UI, add upload feature, localize content
7e13234
raw
history blame contribute delete
286 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Create a non-root user for security
RUN useradd -m -u 1000 user
USER user
ENV FLASK_APP=app.py
ENV PORT=7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]