Dockerfile :octocat:

This commit is contained in:
Liang Ding 2014-12-13 23:57:08 +08:00
parent ffef5c005b
commit 6fb252187e
1 changed files with 1 additions and 4 deletions

View File

@ -3,10 +3,7 @@ MAINTAINER Liang Ding <dl88250@gmail.com>
ADD . /wide/gogogo/src/github.com/b3log/wide
RUN useradd wide && chown -R wide:wide /wide && mkdir /var/log/wide
RUN ln -sf /dev/stdout /var/log/wide/out.log
RUN ln -sf /dev/stderr /var/log/wide/err.log
RUN chown -R wide:wide /var/log/wide
RUN useradd wide && chown -R wide:wide /wide
USER wide