Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk committed Oct 3, 2019
1 parent 8606977 commit 63f2525
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ RUN set -x \
&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; \
fi

COPY nginx.conf /etc/nginx/nginx.conf
COPY uwsgi.conf /etc/nginx/sites-available/

# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
Expand Down Expand Up @@ -225,4 +228,7 @@ RUN COMMIT=`git rev-parse HEAD` && echo "COMMIT=\"${COMMIT}\"" >$appname/version

WORKDIR /var/www/$appname

RUN mkdir /app
COPY uwsgi.ini /app/uwsgi.ini

CMD ["sh","-c","bash /fence/dockerrun.bash && /dockerrun.sh"]

0 comments on commit 63f2525

Please sign in to comment.