Spaces:
Sleeping
Sleeping
# Use your previously built image as the base | |
FROM circulartextapp/readspaceout | |
# Set the working directory | |
WORKDIR /app | |
# Copy the model files and other necessary components | |
COPY ./your_model_directory /app/your_model_directory | |
COPY ./your_code_directory /app/your_code_directory | |
# Expose the port that your FastAPI application is running on | |
EXPOSE 80 | |
# Command to start your FastAPI application | |
CMD ["uvicorn", "your_code_directory.app:app", "--host", "0.0.0.0", "--port", "80", "--reload"] | |