mdtohtml / Dockerfile
Shakauthossain-NH's picture
Upload 4 files
daa9aa5 verified
raw
history blame contribute delete
348 Bytes
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy files
COPY . .
# Install dependencies
RUN apt-get update && \
xargs -r -a apt.txt apt-get install -y && \
pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 7860
# Run FastAPI using uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]