HekeReplicate / Dockerfile
Clemylia's picture
Update Dockerfile
0c1decd verified
raw
history blame contribute delete
290 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y curl git && rm -rf /var/lib/apt/lists/*
RUN sudo chmod +x /app/bin/cog
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["sudo", "chmod +x /bin/cog"]
CMD ["python", "app.py"]