diff --git a/.dockerignore b/.dockerignore index e69de29..4797f42 100644 --- a/.dockerignore +++ b/.dockerignore @@ -0,0 +1,2 @@ +/app/assets/builds/* +/app/assets/svg/* \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fb70c4c..eb4c602 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,6 +50,9 @@ RUN bundle install && \ # Copy application code COPY . . +# RUN bundle exec ./bin/rails rails_icons:sync +RUN ./bin/rails generate rails_icons:sync --libraries=lucide + # Precompile assets (Tailwind is triggered here via assets:precompile) # SECRET_KEY_BASE_DUMMY allows precompilation without real secrets RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile diff --git a/app/views/id_card/print/index.html.erb b/app/views/id_card/print/index.html.erb index fc5ec59..3c873c7 100644 --- a/app/views/id_card/print/index.html.erb +++ b/app/views/id_card/print/index.html.erb @@ -2,7 +2,7 @@