alien2614's picture
Update Dockerfile
f7a53a6 verified
Raw History Blame Contribute Delete
315 Bytes
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy all files
COPY . .
# Install uv and install dependencies globally (system-wide)
RUN pip install uv && \
uv pip install --system .
# Expose the server port
EXPOSE 7860
# Start the server using system python
CMD ["python", "-m", "server.app"]