derek-thomas
commited on
Commit
·
bab2e06
1
Parent(s):
2e9e6ca
Add and modify perms for the log file
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -22,6 +22,9 @@ COPY . .
|
|
| 22 |
# Copy supervisord.conf into the container
|
| 23 |
COPY supervisord.conf .
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
# Expose the desired port
|
| 26 |
EXPOSE 7860
|
| 27 |
|
|
|
|
| 22 |
# Copy supervisord.conf into the container
|
| 23 |
COPY supervisord.conf .
|
| 24 |
|
| 25 |
+
# Set permissions on the log file
|
| 26 |
+
RUN touch /app/mylog.log && chmod a+rwx /app/mylog.log
|
| 27 |
+
|
| 28 |
# Expose the desired port
|
| 29 |
EXPOSE 7860
|
| 30 |
|