File size: 315 Bytes
e1e215e f7a53a6 e1e215e f7a53a6 e1e215e f7a53a6 e1e215e f7a53a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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"] |