File tree Expand file tree Collapse file tree 2 files changed +9
-40
lines changed
Expand file tree Collapse file tree 2 files changed +9
-40
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,17 @@ RUN apk add --no-cache \
66 bash curl git zip unzip libzip-dev icu-dev oniguruma-dev mysql-client \
77 && docker-php-ext-install pdo pdo_mysql mbstring zip intl opcache
88
9+ # composer (bez multi-stage)
910COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
1011
11- # entrypoint
12- COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh
13- RUN chmod +x /usr/local/bin/entrypoint.sh
14- ENTRYPOINT ["/usr/local/bin/entrypoint.sh" ]
12+ # Aplikacija
13+ COPY . .
14+
15+ # (opciono, ali korisno) napravi foldere da ne puca na cache/view putanjama
16+ RUN mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
17+
18+ # (opciono) permisije - nemoj 777, dovoljno 775
19+ RUN chmod -R 775 storage bootstrap/cache || true
1520
1621EXPOSE 9000
1722CMD ["php-fpm" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments