frantics-bot / Dockerfile
TeePoat's picture
Update Dockerfile
2da5d30 verified
raw
history blame
320 Bytes
FROM python:3.12
WORKDIR .
COPY . .
ENV HF_HOME=/home/user/huggingface
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
RUN pip install --no-cache-dir -r models/transformer/requirements.txt
RUN pip install --no-cache-dir -r models/seq2seq/requirements.txt
CMD ["uvicorn", "server:app", "--port", "80"]