Update Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
|
@@ -46,12 +46,6 @@ RUN chown appuser /data
|
|
| 46 |
RUN mkdir -p /images
|
| 47 |
RUN chown appuser /images
|
| 48 |
|
| 49 |
-
# Copy the app.log file into the Docker container
|
| 50 |
-
COPY app.log /app.log
|
| 51 |
-
|
| 52 |
-
# Assign the ownership of app.log to appuser
|
| 53 |
-
RUN chown appuser /app.log
|
| 54 |
-
|
| 55 |
# Switch to the non-privileged user to run the application.
|
| 56 |
USER appuser
|
| 57 |
|
|
|
|
| 46 |
RUN mkdir -p /images
|
| 47 |
RUN chown appuser /images
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
# Switch to the non-privileged user to run the application.
|
| 50 |
USER appuser
|
| 51 |
|