This commit is contained in:
parent
167ece94d4
commit
b4bc4dba1b
2 changed files with 18 additions and 3 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM git.php.fail/lubiana/container/php:8.3
|
||||||
|
RUN mkdir /app
|
||||||
|
WORKDIR /app
|
||||||
|
COPY bin/console /app/bin/console
|
||||||
|
COPY config /app/config
|
||||||
|
COPY migrations /app/migrations
|
||||||
|
COPY public /app/public
|
||||||
|
COPY src /app/src
|
||||||
|
COPY templates /app/templates
|
||||||
|
COPY composer.json /app/composer.json
|
||||||
|
COPY composer.lock /app/composer.lock
|
||||||
|
COPY .env /app/.env
|
||||||
|
RUN mkdir /app/var
|
||||||
|
ENV APP_ENV=prod
|
||||||
|
RUN composer install --no-dev --optimize-autoloader
|
|
@ -70,11 +70,11 @@
|
||||||
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
||||||
},
|
},
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"@auto-scripts",
|
"@auto-scripts"
|
||||||
"config-transformer switch-format config"
|
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"@auto-scripts"
|
"@auto-scripts",
|
||||||
|
"config-transformer switch-format config"
|
||||||
],
|
],
|
||||||
"lint": [
|
"lint": [
|
||||||
"rector",
|
"rector",
|
||||||
|
|
Loading…
Reference in a new issue