dockerisation

This commit is contained in:
2023-12-22 13:53:10 +01:00
parent dfb8eb6236
commit cda63eddba
3260 changed files with 14063 additions and 154683 deletions

18
misc/docker/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
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