Guiziii/test
0
1FROM python:3.92 3WORKDIR /code4 5COPY ./requirements.txt /code/requirements.txt6 7RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt8 9COPY . .10 11# Set the environment variables for Flask12ENV FLASK_APP=app.main13ENV FLASK_RUN_HOST=0.0.0.014ENV FLASK_RUN_PORT=786015 16# Set the Hugging Face cache directory within the container17ENV HF_HOME=/code/.huggingface18 19# Create the directory for Hugging Face cache and ensure proper permissions20RUN mkdir -p /code/.huggingface && chmod -R 777 /code/.huggingface21 22CMD ["flask", "run"]23 