© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3y ago
•
22 replies
bdm-laravel
css/js is not working in production
I deployed laravel filament on production server for testing but css
/ js file are not including or not working
The laravel welcome as proper css
/ jss applied but when i try to access filament using
/admin in url then there is no css
/ js
Here is Dockerfile that install all dependencies composer and npm and working fine
FROM
p
h
p
:8
.2
-apache
Install dependencies
RUN apt
-get update
&
&
\
apt
-get install
-y
\
libzip
-dev
\
zip
\
libicu
-dev
\
nodejs
\
npm
Install PHP extensions
RUN docker
-php
-ext
-install pdo
_mysql zip intl
Install Composer
RUN curl
-sS
https://getcomposer.org/installer
| php
-
-
-
-install
-dir
=
/usr
/local
/bin
-
-filename
=composer
WORKDIR
/app
COPY
.
/app
Update and install PHP dependencies before running composer install
RUN composer update
Print more information during composer install for debugging
RUN composer install
-
-verbose
Install and build npm dependencies
RUN npm install
Run npm production build
RUN npm run production
EXPOSE 8000
CMD php artisan serve
-
-host
=0
.0
.0
.0
-
-port
=8000
NEED HELP IN THIS MATTER
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Css is not working properly in production
F
Filament / ❓┊help
3y ago
Dafault Css/Tailwind Not working in production
F
Filament / ❓┊help
2y ago
Resources/js/app.js and css/app.css not working
F
Filament / ❓┊help
3y ago
ImportAction not working in production
F
Filament / ❓┊help
3y ago