Asanaly commited on
Rename app to Dockerfile
Browse filesFiles changed (2)
- DockerfileAdded+19
- appDeleted
12345678910111213141516171819FROM python:3.10
# PDF librariesRUN apt-get update && apt-get install -y \ build-essential \ poppler-utils \ && rm -rf /var/lib/apt/lists/*
WORKDIR /code
# Copy everythingCOPY . .
# Install python packagesRUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]DockerfileAdded+19
appDeleted