Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
watchful-openresty
Commits
31f01bf3
Commit
31f01bf3
authored
Oct 20, 2015
by
Michał 'rysiek' Woźniak
Browse files
make sure the log dir exists
parent
a337607d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Dockerfile
Dockerfile
+3
-0
No files found.
Dockerfile
View file @
31f01bf3
...
...
@@ -36,6 +36,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN
ln
-sf
/dev/stdout /var/log/nginx/access.log
RUN
ln
-sf
/dev/stderr /var/log/nginx/error.log
# make sure the log dir exists
RUN
mkdir
-p
/srv/logs/nginx/
&&
chown
www-data:www-data /srv/logs/nginx/
COPY
run.sh /run.sh
RUN
chmod
+x /run.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment