futtern/Dockerfile
lubiana b4bc4dba1b
All checks were successful
/ ls (pull_request) Successful in 30s
add dockerfile
2024-06-15 22:36:31 +02:00

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