OEM und STATS image #11

Merged
holzi1005 merged 17 commits from feature/oem-image into main 2024-12-03 22:30:45 +01:00
Showing only changes of commit f6a035838b - Show all commits

View file

@ -19,6 +19,8 @@ USER root
RUN apk --no-cache add \
unzip \
nodejs \
composer \
&& rm -rf /var/cache/apk/*
RUN mkdir /etc/service/cron \
@ -46,8 +48,18 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/01-symfony.sh \
USER nobody
RUN wget https://github.com/open-event-manager/open-event-manager/archive/refs/tags/${VERSION}.zip -O artifact.zip \
&& unzip artifact.zip \
RUN wget https://github.com/open-event-manager/open-event-manager/archive/refs/tags/${VERSION}.tar.gz -O artifact.tar.gz \
&& 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 -r var/cache