diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..cf703a9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +node_modules +dist +.env +*.db +*.db-journal +*.db-wal +.DS_Store +.git diff --git a/Dockerfile b/Dockerfile index 7b0a1ff..6c5e461 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,12 +24,12 @@ RUN bun install --frozen-lockfile COPY . . -# Build frontend assets (tailwind + ts) -RUN bun run build:assets - # Generate templ files RUN templ generate +# Build frontend assets (tailwind + ts) +RUN bun run build:assets + # Generate sqlc code RUN sqlc generate diff --git a/static/style.css b/static/style.css index 5a87fea..a1919a3 100644 --- a/static/style.css +++ b/static/style.css @@ -2,7 +2,8 @@ @import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap'); @import '@toolwind/anchors'; -@source '../../internal/**/*.templ'; +@source "../internal/**/*.templ"; +@source "../web/**/*.templ"; :root { color-scheme: light dark;