ai-commit-server / Dockerfile
NiviruIns's picture
Upload 10 files
3474fd8 verified
raw
history blame contribute delete
317 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the app and the model folder
COPY . .
# Grant permissions (required by HF)
RUN chmod -R 777 /code
CMD ["python", "app.py"]