Train / Dockerfile
Yjhhh's picture
Update Dockerfile
bdc67a8 verified
raw
history blame contribute delete
277 Bytes
FROM python:3.8
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir /.cache
RUN mkdir models
RUN mkdir /models
RUN chmod -R 777 /.cache
RUN chmod -R 777 /models
RUN chmod -R 777 models
COPY . .
CMD ["python", "main.py"]