This commit is contained in:
holzi1005 2024-12-03 18:38:43 +01:00
parent 80ce79abb3
commit f6a035838b

View file

@ -19,6 +19,8 @@ USER root
RUN apk --no-cache add \ RUN apk --no-cache add \
unzip \ unzip \
nodejs \
composer \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
RUN mkdir /etc/service/cron \ RUN mkdir /etc/service/cron \
@ -46,8 +48,18 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/01-symfony.sh \
USER nobody USER nobody
RUN wget https://github.com/open-event-manager/open-event-manager/archive/refs/tags/${VERSION}.zip -O artifact.zip \ RUN wget https://github.com/open-event-manager/open-event-manager/archive/refs/tags/${VERSION}.tar.gz -O artifact.tar.gz \
&& unzip artifact.zip \ && tar --strip-components=1 -xvzf artifact.tar.gz
RUN composer install \
--optimize-autoloader \
--no-interaction \
--no-progress
RUN npm install \
&& npm run build
RUN rm -r node_modules \
&& rm artifact.zip \ && rm artifact.zip \
&& rm -r var/cache && rm -r var/cache