Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
Signed-off-by: IThundxr <[email protected]>
  • Loading branch information
IThundxr committed Aug 7, 2023
1 parent e5e49dc commit 39e1e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile

RUN pnpm run build:schema
COPY prisma/schema.prisma prisma/

RUN prisma generate --schema=prisma/schema.prisma

COPY . .
CMD [ "pnpm", "run", "start" ]
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"scripts": {
"dev": "cross-env NODE_ENV=development tsx watch src/index.ts",
"start": "tsx src/index.ts",
"build:schema": "prisma generate --schema=prisma/schema.prisma",
"lint": "tsc && eslint . && prettier --check ."
},
"dependencies": {
Expand Down

0 comments on commit 39e1e9c

Please sign in to comment.