Spaces:
Sleeping
Sleeping
File size: 327 Bytes
b3aca8d 5b3feb2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# Get the image of python
FROM python:3.9
# Copy all the files from local-dir to machine dir
COPY . .
# Set the current directory as working dir
WORKDIR /
# Install the requirements
RUN pip install --no-cache-dir -r ./requirement.txt
# Launch the server
CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "7860"] |