Spaces:
Running
Running
Commit
·
0b471a6
1
Parent(s):
01f318f
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -23,7 +23,7 @@ RUN if [ -z "$USER_ID" ]; then \
|
|
| 23 |
fi
|
| 24 |
|
| 25 |
# Set appropriate permissions for the application directory
|
| 26 |
-
RUN chown -R user:user /app && chmod -R 755/app
|
| 27 |
|
| 28 |
# Install gosu (adjust the package manager based on your base image)
|
| 29 |
RUN apt-get update && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
|
|
@@ -40,3 +40,4 @@ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
|
| 40 |
|
| 41 |
# Default command to run if the user doesn't provide a command
|
| 42 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|
|
|
|
|
|
| 23 |
fi
|
| 24 |
|
| 25 |
# Set appropriate permissions for the application directory
|
| 26 |
+
RUN chown -R user:user /app && chmod -R 755 /app
|
| 27 |
|
| 28 |
# Install gosu (adjust the package manager based on your base image)
|
| 29 |
RUN apt-get update && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
|
|
|
|
| 40 |
|
| 41 |
# Default command to run if the user doesn't provide a command
|
| 42 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|
| 43 |
+
|