Files
Auto-GPT/Dockerfile
Kiss Péter 739b0ed96b Improve Dockerfile:
- Use smaller base image
- Make it smaller by not saving cache (1,15GB -> 356MB)
2023-04-11 14:04:37 +02:00

8 lines
169 B
Docker

FROM python:3.11-slim
ENV PIP_NO_CACHE_DIR=yes
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY scripts/ .
ENTRYPOINT ["python", "main.py"]