Spaces:
Runtime error
Runtime error
Bhushan4829
commited on
Commit
·
7d654a9
1
Parent(s):
891ed69
Updated Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -28,6 +28,9 @@ RUN apt-get update && \
|
|
| 28 |
# Copy the entire project into the container
|
| 29 |
COPY . /app
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
# Switch to the non-root user
|
| 32 |
USER appuser
|
| 33 |
|
|
|
|
| 28 |
# Copy the entire project into the container
|
| 29 |
COPY . /app
|
| 30 |
|
| 31 |
+
# Change ownership of the /app directory to the non-root user
|
| 32 |
+
RUN chown -R appuser:appuser /app
|
| 33 |
+
|
| 34 |
# Switch to the non-root user
|
| 35 |
USER appuser
|
| 36 |
|