Spaces:
Sleeping
Sleeping
File size: 485 Bytes
797ba9c 16b3c81 44dd441 797ba9c c96a313 6e21807 797ba9c f58c1fa 797ba9c 6e21807 f58c1fa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Use your previously built image as the base
FROM circulartextapp/readspaceout
# Set the working directory
WORKDIR /app
# Copy all contents in the current directory to the /app directory in the container
COPY . /app
# Change permissions on the /app directory
RUN chmod -R 777 /app
# Expose the port that your FastAPI application is running on
EXPOSE 80
# Command to start your FastAPI application
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
|