Spaces:
Sleeping
Sleeping
itseffi commited on
Commit ·
b68435b
1
Parent(s): 7992595
Fix Dockerfile static files path for CSS loading
Browse files- Dockerfile +1 -1
- app/globals.css +0 -4
- tailwind.config.ts +0 -14
Dockerfile
CHANGED
|
@@ -43,7 +43,7 @@ RUN chown nextjs:nodejs .next
|
|
| 43 |
# Leverage output traces to reduce image size
|
| 44 |
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
| 45 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
| 46 |
-
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next
|
| 47 |
|
| 48 |
USER nextjs
|
| 49 |
|
|
|
|
| 43 |
# Leverage output traces to reduce image size
|
| 44 |
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
| 45 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
| 46 |
+
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next
|
| 47 |
|
| 48 |
USER nextjs
|
| 49 |
|
app/globals.css
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
@import "tailwindcss";
|
| 2 |
@import "tw-animate-css";
|
| 3 |
|
| 4 |
-
@source "../components/**/*.tsx";
|
| 5 |
-
@source "../lib/**/*.ts";
|
| 6 |
-
@source "./**/*.tsx";
|
| 7 |
-
|
| 8 |
@custom-variant dark (&:is(.dark *));
|
| 9 |
|
| 10 |
:root {
|
|
|
|
| 1 |
@import "tailwindcss";
|
| 2 |
@import "tw-animate-css";
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
@custom-variant dark (&:is(.dark *));
|
| 5 |
|
| 6 |
:root {
|
tailwind.config.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
import type { Config } from "tailwindcss";
|
| 2 |
-
|
| 3 |
-
export default {
|
| 4 |
-
content: [
|
| 5 |
-
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
| 6 |
-
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
| 7 |
-
"./lib/**/*.{js,ts,jsx,tsx,mdx}",
|
| 8 |
-
],
|
| 9 |
-
darkMode: "class",
|
| 10 |
-
theme: {
|
| 11 |
-
extend: {},
|
| 12 |
-
},
|
| 13 |
-
plugins: [],
|
| 14 |
-
} satisfies Config;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|