adowu commited on
Commit
00c67bf
·
verified ·
1 Parent(s): d15d305

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -16,9 +16,11 @@ RUN corepack enable pnpm && pnpm install --frozen-lockfile
16
  # Aktualizacja konfiguracji Remix
17
  RUN sed -i '/export default defineConfig(/a \ plugins: [remix()],' vite.config.ts && \
18
  sed -i "1i import { vitePlugin as remix } from '@remix-run/dev';" vite.config.ts
19
-
20
  # Konfiguracja future flags dla Remix
21
- RUN echo "export default {\n future: {\n v3_singleFetch: true\n }\n};" > remix.config.js
 
 
22
 
23
  # Zmienne środowiskowe
24
  ENV WRANGLER_SEND_METRICS=false \
 
16
  # Aktualizacja konfiguracji Remix
17
  RUN sed -i '/export default defineConfig(/a \ plugins: [remix()],' vite.config.ts && \
18
  sed -i "1i import { vitePlugin as remix } from '@remix-run/dev';" vite.config.ts
19
+ RUN pnpm add -D @remix-run/dev @remix-run/react @cloudflare/workers-types
20
  # Konfiguracja future flags dla Remix
21
+ RUN echo "import { vitePlugin as remix } from '@remix-run/dev';" > vite.config.header.ts && \
22
+ cat vite.config.ts >> vite.config.tmp && \
23
+ mv vite.config.tmp vite.config.ts
24
 
25
  # Zmienne środowiskowe
26
  ENV WRANGLER_SEND_METRICS=false \