futtern/Dockerfile

15 lines
418 B
Text
Raw Normal View History

2024-06-15 20:36:31 +00:00
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