Skip to content
Merged
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
6 changes: 1 addition & 5 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ COPY package*.json ./
RUN pnpm install

COPY . .
RUN pnpx prisma generate
RUN pnpx prisma migrate deploy

RUN pnpm run build

EXPOSE 3000

CMD ["pnpm", "run", "start:prod:http"]
CMD ["sh", "-c", "pnpx prisma generate && pnpx prisma migrate deploy && pnpm run build && pnpm run start:prod:http"]
5 changes: 1 addition & 4 deletions apps/socket-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ COPY package*.json ./
RUN pnpm install

COPY . .
RUN pnpx prisma generate

RUN pnpm run build

EXPOSE 4000

CMD ["pnpm", "run", "start:prod:ws"]
CMD ["sh", "-c", "pnpx prisma generate && pnpm run build && pnpm run start:prod:ws"]
Loading