anon5's picture
Update Dockerfile
b0e2964 verified
raw
history blame
295 Bytes
FROM python:3.9
WORKDIR /app
COPY ./app.py /app
COPY ./requirements.txt /app
RUN pip install -r requirements.txt
RUN chmod -R 777 /.cache
#RUN mkdir /app/.cache
#ARG SENTENCE_TRANSFORMERS_HOME=/app/.cache
#ENV SENTENCE_TRANSFORMERS_HOME=/app/.cache
EXPOSE 5000
RUN flask run --host 0.0.0.0