Spaces:
Running
Running
File size: 473 Bytes
48d60fd 09ff09c 48d60fd 78df986 48d60fd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy the entire project
COPY . .
# Install the package in editable mode
RUN pip install --no-cache-dir -e .
# Create logs directory
RUN mkdir -p /app/logs && chmod 777 /app/logs
# Expose the gRPC port
EXPOSE 8080
# Command to run the server
CMD ["python", "lerobot/scripts/server/policy_server.py"]
|