Skip to content

Commit

Permalink
Revert "Slight optimization of Docker image."
Browse files Browse the repository at this point in the history
This reverts commit dcd6a65.
  • Loading branch information
BusterNeece committed Feb 5, 2023
1 parent dcd6a65 commit 10b6c8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
@@ -1,5 +1,7 @@
.git
.devcontainer
.github
.run
frontend/node_modules
vendor
resources/*.mp3
16 changes: 2 additions & 14 deletions Dockerfile
Expand Up @@ -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
Expand Down

0 comments on commit 10b6c8f

Please sign in to comment.