feat: entry point
This commit is contained in:
+5
-5
@@ -30,14 +30,14 @@ COPY . .
|
||||
RUN composer dump-autoload --optimize
|
||||
|
||||
|
||||
RUN php artisan config:cache
|
||||
RUN php artisan route:cache
|
||||
RUN php artisan view:cache
|
||||
|
||||
|
||||
RUN chown -R www-data:www-data storage bootstrap/cache
|
||||
|
||||
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["frankenphp", "php-server", "--listen", "0.0.0.0:8000"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user