Tomarket / Dockerfile
yasir68's picture
Upload folder using huggingface_hub (#1)
4e9b253 verified
raw
history blame
353 Bytes
FROM python:3.10.11-alpine3.18
WORKDIR app/
COPY requirements.txt requirements.txt
RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt
RUN pip install Flask
COPY . .
RUN mkdir -p /app/sessions && \
chmod -R 777 /app/sessions
RUN chmod 777 /app
CMD ["python3", "app.py"]