Skip to content

Commit

Permalink
Merge pull request #5 from cambid/fix-dockerfile-style
Browse files Browse the repository at this point in the history
Fix dockerfile style
  • Loading branch information
dignajar authored Jun 21, 2019
2 parents 2cba383 + 5e15098 commit f80d6c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log
RUN ln -sf /dev/stderr /var/log/nginx/error.log

# Configurations files
ADD conf/default.conf ${nginx_path}/conf.d/default.conf
ADD conf/nginx.conf ${nginx_conf}
ADD conf/supervisord.conf /etc/supervisord.conf
COPY conf/default.conf ${nginx_path}/conf.d/default.conf
COPY conf/nginx.conf ${nginx_conf}
COPY conf/supervisord.conf /etc/supervisord.conf

# Nginx logs to Docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log

# Bludit installation
RUN cd /tmp/ && \
curl -o /tmp/bludit.zip ${bludit_url} && \
WORKDIR /tmp
RUN curl -o /tmp/bludit.zip ${bludit_url} && \
unzip /tmp/bludit.zip && \
rm -rf /usr/share/nginx/html && \
mv bludit-* /usr/share/nginx/html && \
Expand Down

0 comments on commit f80d6c8

Please sign in to comment.