Update readme, dockerfile
This commit is contained in:
+2
-2
@@ -7,14 +7,14 @@ RUN apk add --update tini
|
||||
ENTRYPOINT [ "/sbin/tini", "--" ]
|
||||
|
||||
RUN addgroup -S $USERNAME && adduser -S $USERNAME -G $USERNAME
|
||||
RUN docker-php-ext-install pcntl
|
||||
#RUN docker-php-ext-install pcntl
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
RUN printf "[PHP]\ndate.timezone = \"%s\"\n" $TZ > /usr/local/etc/php/conf.d/tzone.ini
|
||||
|
||||
WORKDIR /application
|
||||
COPY . /application
|
||||
RUN chown app:app /application/data
|
||||
RUN chown app:app /application/var
|
||||
|
||||
USER $USERNAME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user