mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Compare commits
9 Commits
v0.0.10
...
2e35ab1038
| Author | SHA1 | Date | |
|---|---|---|---|
|
2e35ab1038
|
|||
|
6e78a22896
|
|||
|
32c9c3f8c7
|
|||
|
731b445849
|
|||
|
47babe6777
|
|||
|
56497c6458
|
|||
|
c61e203a4d
|
|||
|
45404db12f
|
|||
|
c84cce3fc2
|
@@ -87,10 +87,12 @@ FROM frankenphp_base AS frankenphp_prod
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV APP_ENV=prod
|
||||
ENV FRANKENPHP_CONFIG="import worker.Caddyfile"
|
||||
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
COPY --link frankenphp/conf.d/20-app.prod.ini $PHP_INI_DIR/app.conf.d/
|
||||
COPY --link frankenphp/worker.Caddyfile /etc/caddy/worker.Caddyfile
|
||||
|
||||
# prevent the reinstallation of vendors at every changes in the source code
|
||||
COPY --link composer.* symfony.* ./
|
||||
|
||||
4
frankenphp/worker.Caddyfile
Normal file
4
frankenphp/worker.Caddyfile
Normal file
@@ -0,0 +1,4 @@
|
||||
worker {
|
||||
file ./public/index.php
|
||||
env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
|
||||
}
|
||||
Reference in New Issue
Block a user