-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
10,072 additions
and
11,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20 | ||
22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM node:22-slim AS install | ||
WORKDIR /app | ||
COPY ./package.json ./package.json | ||
COPY ./package-lock.json ./package-lock.json | ||
COPY ./packages/docs/package.json ./packages/docs/package.json | ||
COPY ./packages/playground/package.json ./packages/playground/package.json | ||
COPY ./packages/ui/package.json ./packages/ui/package.json | ||
COPY ./packages/tests/package.json ./packages/tests/package.json | ||
COPY ./patches ./patches | ||
RUN npm install --no-audit --no-fund | ||
|
||
FROM node:22-slim AS docs_builder | ||
WORKDIR /app | ||
COPY ./package.json ./package.json | ||
COPY ./package-lock.json ./package-lock.json | ||
COPY ./packages/playground/ ./packages/playground/ | ||
COPY ./packages/docs/ ./packages/docs/ | ||
COPY ./packages/ui/ ./packages/ui/ | ||
COPY --from=install /app/node_modules ./node_modules | ||
RUN apt update && apt install git -y | ||
RUN npm run docs:build | ||
|
||
FROM serversideup/php:8.3-fpm-nginx | ||
WORKDIR /app | ||
USER root | ||
COPY packages/docs/.symfony/ ./packages/docs/.symfony/ | ||
COPY packages/ui/ ./packages/ui/ | ||
COPY packages/twig-extension/ ./packages/twig-extension/ | ||
RUN composer install -d ./packages/docs/.symfony | ||
RUN echo "APP_ENV=prod" > ./packages/docs/.symfony/.env.local | ||
COPY --from=docs_builder /app/packages/docs/.symfony/public/-/ ./packages/docs/.symfony/public/-/ | ||
RUN chown -R www-data:www-data . | ||
ENV NGINX_WEBROOT="/app/packages/docs/.symfony/public/" | ||
ENV PHP_OPCACHE_ENABLE=1 | ||
USER www-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.