Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -23,10 +23,7 @@ COPY docker-entrypoint.sh /usr/local/bin/
|
|
| 23 |
# Change permissions of the entrypoint script (before switching users)
|
| 24 |
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
| 25 |
|
| 26 |
-
# Ensure
|
| 27 |
-
RUN chown -R appuser:appuser /app/config
|
| 28 |
-
|
| 29 |
-
# Ensure appuser owns all files (you can adjust this based on the specific needs)
|
| 30 |
RUN chown -R appuser:appuser /app
|
| 31 |
|
| 32 |
# Switch to the non-root user
|
|
|
|
| 23 |
# Change permissions of the entrypoint script (before switching users)
|
| 24 |
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
| 25 |
|
| 26 |
+
# Ensure the non-root user has full access to the entire /app directory
|
|
|
|
|
|
|
|
|
|
| 27 |
RUN chown -R appuser:appuser /app
|
| 28 |
|
| 29 |
# Switch to the non-root user
|