ninegitea/misc/docker/Dockerfile

19 lines
388 B
Docker
Raw Permalink Normal View History

2023-12-22 13:53:10 +01:00
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