Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ VOLUME /app/var/

# persistent / runtime deps
# hadolint ignore=DL3008
RUN apt-get update && apt-get install -y --no-install-recommends \
file \
git \
&& rm -rf /var/lib/apt/lists/*

RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
file \
git \
; \
rm -rf /var/lib/apt/lists/*; \
install-php-extensions \
@composer \
apcu \
Expand Down Expand Up @@ -85,9 +86,9 @@ RUN set -eux; \

# copy sources
COPY --link . ./
RUN rm -Rf frankenphp/

RUN set -eux; \
rm -Rf frankenphp/; \
Comment on lines 88 to +91
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved by #864

mkdir -p var/cache var/log; \
composer dump-autoload --classmap-authoritative --no-dev; \
composer dump-env prod; \
Expand Down