evBackend / Dockerfile
Jofthomas's picture
Update Dockerfile
0444891
raw
history blame
266 Bytes
FROM python:3.10.9
# Set the working directory
WORKDIR /app
# Copy all files into the container
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir --user -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]