ninegitea/misc/docker/Dockerfile

19 lines
388 B
Docker

FROM reg.cadoles.com/envole/nineapache:7.4
RUN apk add mariadb-client
RUN composer self-update --1
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn encore dev
RUN yarn encore prod
RUN mkdir -p /app/public/uploads
RUN chown apache /app/public/uploads -R
RUN chmod u+w /app/public/uploads -R
CMD /app/misc/script/reconfigure.sh && /etc/apache2/apache2.sh
#CMD /etc/apache2/apache2.sh