15 lines
No EOL
418 B
Docker
15 lines
No EOL
418 B
Docker
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 |