OEM und STATS image #11
1 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue