Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Jan 24, 2025
1 parent 3a5ce9a commit 1837343
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ COPY entrypoint.sh ./entrypoint.sh
COPY . .

RUN corepack enable

RUN pnpm install --frozen-lockfile

RUN pnpm run build:app
Expand All @@ -31,11 +32,10 @@ COPY --from=build /app/entrypoint.sh ./entrypoint.sh
COPY --from=build /app/server/database/schema.ts ./server/database/schema.ts
COPY --from=build /app/server/database/column.helpers.ts ./server/database/column.helpers.ts
COPY --from=build /app/drizzle.config.ts ./drizzle.config.ts

COPY --from=build /app/packages/types ./packages/types
COPY --from=build /app/tsconfig.json ./tsconfig.json

RUN corepack enable

RUN pnpm install --prod

RUN apk update && apk add --no-cache curl
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"dev:cli": "turbo dev --filter=@shelve/cli",
"release": "turbo release && changeset",
"dev:prepare": "turbo dev:prepare",
"turbo:dev": "turbo dev",
"turbo:build": "turbo build",
"turbo:lint": "turbo lint",
"turbo:lint:fix": "turbo lint:fix",
Expand Down
3 changes: 2 additions & 1 deletion server/database/schema.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { boolean, pgEnum, pgTable, varchar, index, uniqueIndex, bigint, integer } from 'drizzle-orm/pg-core'
import { relations } from 'drizzle-orm'
import { timestamps } from './column.helpers'
import { AuthType, Role, TeamRole } from '~~/packages/types'
// eslint-disable-next-line
import { AuthType, Role, TeamRole } from '../../packages/types'

const DEFAULT_AVATAR = 'https://i.imgur.com/6VBx3io.png'
const DEFAULT_LOGO = 'https://github.com/HugoRCD/shelve/blob/main/assets/default.webp?raw=true'
Expand Down

0 comments on commit 1837343

Please sign in to comment.