Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ revision.txt
.sass-cache
doc/
/docker/db/*
!docker/db/word.sql
!docker/db/.gitkeep
docker-compose.override.*
!docker-compose.override.yml.dist
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
ARG PHP_VERSION=8.5
ARG PHP_VERSION=8.4
ARG FRANKENPHP_VERSION=1.11


Expand Down Expand Up @@ -70,6 +70,7 @@ COPY assets assets/
COPY bin bin/
COPY build build/
COPY config config/
COPY docker docker/
COPY lib lib/
COPY Mike42 Mike42/
COPY modules modules/
Expand All @@ -90,10 +91,10 @@ RUN set -eux; \
composer clear-cache

# prevent the reinstallation of node_modules at every changes in the source code
COPY package.json yarn.lock webpack.config.js postcss.config.js tailwind.config.js tsconfig.json ./
RUN set -eux; \
yarn install --frozen-lock; \
yarn encore production --mode=production
#COPY package.json yarn.lock webpack.config.js postcss.config.js tailwind.config.js tsconfig.json ./
#RUN set -eux; \
# yarn install --frozen-lock; \
# yarn encore production --mode=production

# do not use .env files in production
COPY .env ./
Expand Down
Loading
Loading