Revert "Slight optimization of Docker image."
This reverts commit dcd6a659ca
.
This commit is contained in:
parent
dcd6a659ca
commit
10b6c8fa29
|
@ -1,5 +1,7 @@
|
|||
.git
|
||||
.devcontainer
|
||||
.github
|
||||
.run
|
||||
frontend/node_modules
|
||||
vendor
|
||||
resources/*.mp3
|
||||
|
|
16
Dockerfile
16
Dockerfile
|
@ -76,26 +76,14 @@ USER azuracast
|
|||
|
||||
WORKDIR /var/azuracast/www
|
||||
|
||||
COPY --chown=azuracast:azuracast \
|
||||
./composer.json \
|
||||
./composer.lock \
|
||||
./
|
||||
|
||||
COPY --chown=azuracast:azuracast ./composer.json ./composer.lock ./
|
||||
RUN composer install \
|
||||
--no-dev \
|
||||
--no-ansi \
|
||||
--no-autoloader \
|
||||
--no-interaction
|
||||
|
||||
COPY --chown=azuracast:azuracast \
|
||||
./bin \
|
||||
./config \
|
||||
./plugins \
|
||||
./src \
|
||||
./templates \
|
||||
./translations/*/LC_MESSAGES/*.mo \
|
||||
./web \
|
||||
./
|
||||
COPY --chown=azuracast:azuracast . .
|
||||
|
||||
RUN composer dump-autoload --optimize --classmap-authoritative \
|
||||
&& touch /var/azuracast/.docker
|
||||
|
|
Loading…
Reference in New Issue