Update readme, dockerfile

This commit is contained in:
2024-09-27 17:36:25 +02:00
parent 6d240acdb4
commit ac57a59f2f
2 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -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