Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
8 changes: 6 additions & 2 deletions apps/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
FROM node:20 AS build
WORKDIR /app

# Enable Corepack and prepare Yarn 4.x
RUN corepack enable && corepack prepare yarn@4.5.1 --activate

# Copy package files
COPY package.json yarn.lock ./
COPY package.json yarn.lock .yarnrc.yml ./
COPY .yarn/ .yarn/
COPY apps/backend/package.json* ./apps/backend/
COPY shared/package.json* ./shared/

Expand All @@ -12,7 +16,7 @@ RUN yarn install --frozen-lockfile

# Copy source code and build
COPY . .
RUN npx nx build backend
RUN yarn nx build backend

# Production stage
FROM node:20-slim AS runtime
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ services:
# JWT and Auth (add secrets in prod)
JWT_SECRET: dev-secret-change-in-prod

STRIPE_SECRET_KEY: sk_test_1234567890

ports:
- '3001:3001'
depends_on:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@
"typescript": "^5.1.3",
"vite": "7.1.3",
"vitest": "^1.3.1"
}
},
"packageManager": "yarn@4.5.1+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
}
Loading
Loading