fix: .env.production in Dockerfile

This commit is contained in:
Valknar XXX
2025-10-25 22:51:24 +02:00
parent 29e8808be1
commit 03baca8272
3 changed files with 4 additions and 19 deletions

View File

@@ -28,8 +28,6 @@ wasm
.env .env
.env.* .env.*
!.env.example !.env.example
**/.env
**/.env.*
# Logs # Logs
logs logs

View File

@@ -14,6 +14,10 @@ WORKDIR /app
# Copy workspace configuration # Copy workspace configuration
COPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./ COPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./
# Copy .env to .env.production for proper svelte compiling
RUN mkdir -p ./packages/frontend
COPY packages/frontend/.env ./packages/frontend/.env.production
# ============================================================================ # ============================================================================
# Builder stage - compile application with Rust/WASM support # Builder stage - compile application with Rust/WASM support
# ============================================================================ # ============================================================================

View File

@@ -1,17 +0,0 @@
Dockerfile
.dockerignore
.git
.gitignore
.gitattributes
README.md
.npmrc
.prettierrc
.eslintrc.cjs
.graphqlrc
.editorconfig
.svelte-kit
.vscode
node_modules
build
package
**/.env