Fortune-API-Shield / Dockerfile
Lei075fr's picture
Create Dockerfile
fb0181b verified
raw
history blame contribute delete
241 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
# Comando para ligar o escudo na porta 7860 (padrão do HF)
CMD ["python", "app.py"]