diff --git a/Dockerfile b/Dockerfile index ecaf62e..b58a4dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,9 @@ RUN npm install @rollup/rollup-linux-x64-musl RUN npm install esbuild@0.21.5 RUN npm install vite @vitejs/plugin-react --save-dev +# Create type declarations for CSS modules +RUN echo "declare module '*.css'" > src/types.d.ts + # Copy source code and build COPY . . RUN npm run build