Add an entrypoint for easy config

This commit is contained in:
nemunaire 2020-11-15 18:02:42 +01:00
commit 079127a920
2 changed files with 28 additions and 0 deletions

View file

@ -6,4 +6,8 @@ RUN apk add --no-cache libpng libpng-dev freetype freetype-dev && \
COPY . /usr/src/hb-main/
WORKDIR /usr/src/hb-main
ENTRYPOINT ["/usr/src/hb-main/entrypoint.sh"]
CMD ["php-fpm"]
RUN chmod 777 /usr/src/hb-main/onyx2/cache /usr/src/hb-main/onyx2/cache/signatures /usr/src/hb-main/onyx2/log /usr/src/hb-main/onyx2/log/users /usr/src/hb-main/onyx2/modules/templates/cache /usr/src/hb-main/onyx2/modules/templates/compile