feat: cd
This commit is contained in:
+11
-3
@@ -1,9 +1,10 @@
|
||||
FROM dunglas/frankenphp:php8.2-alpine
|
||||
FROM dunglas/frankenphp:php8.4-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
RUN install-php-extensions \
|
||||
bcmath \
|
||||
pdo_pgsql \
|
||||
opcache \
|
||||
pcntl \
|
||||
@@ -31,13 +32,20 @@ RUN composer dump-autoload --optimize
|
||||
|
||||
|
||||
|
||||
RUN chown -R www-data:www-data storage bootstrap/cache
|
||||
RUN mkdir -p \
|
||||
storage/app/public \
|
||||
storage/framework/cache/data \
|
||||
storage/framework/sessions \
|
||||
storage/framework/views \
|
||||
storage/logs \
|
||||
bootstrap/cache \
|
||||
&& chown -R www-data:www-data storage bootstrap/cache
|
||||
|
||||
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
||||
EXPOSE 8002
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user