Spaces:
Sleeping
Sleeping
Commit
·
f58c1fa
1
Parent(s):
6e21807
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -7,8 +7,12 @@ WORKDIR /app
|
|
| 7 |
# Copy all contents in the current directory to the /app directory in the container
|
| 8 |
COPY . /app
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
# Expose the port that your FastAPI application is running on
|
| 11 |
EXPOSE 80
|
| 12 |
|
| 13 |
# Command to start your FastAPI application
|
| 14 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
|
|
|
|
|
|
| 7 |
# Copy all contents in the current directory to the /app directory in the container
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
+
# Change permissions on the /app directory
|
| 11 |
+
RUN chmod -R 777 /app
|
| 12 |
+
|
| 13 |
# Expose the port that your FastAPI application is running on
|
| 14 |
EXPOSE 80
|
| 15 |
|
| 16 |
# Command to start your FastAPI application
|
| 17 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--reload"]
|
| 18 |
+
|