Samuel Oberhofer commited on
Commit ·
43b9b0c
1
Parent(s): cea99fa
fix: Grant full ownership of app directory to user
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -19,6 +19,9 @@ RUN pip install --user -r requirements.txt
|
|
| 19 |
# Copy the rest of the application files
|
| 20 |
COPY --chown=user:user . .
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
# Make the startup script executable
|
| 23 |
RUN chmod +x startup.sh
|
| 24 |
|
|
|
|
| 19 |
# Copy the rest of the application files
|
| 20 |
COPY --chown=user:user . .
|
| 21 |
|
| 22 |
+
# Grant ownership of the app directory to the user
|
| 23 |
+
RUN chown -R user:user /app
|
| 24 |
+
|
| 25 |
# Make the startup script executable
|
| 26 |
RUN chmod +x startup.sh
|
| 27 |
|