Skip to content

Commit

Permalink
veri cool
Browse files Browse the repository at this point in the history
  • Loading branch information
chillingstar committed Nov 12, 2024
1 parent 9637e50 commit 1060a27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM oven/bun:latest
FROM node:alpine

COPY package.json ./
COPY bun.lockb ./
COPY package.json ./package.json
COPY package-lock.json ./package-lock.json

RUN bun install \
--verbose \
--no-cache
RUN npm install --verbose --no-cache

COPY . .

CMD ["bun", "start"]
CMD ["npm", "start"]
Binary file modified bun.lockb
Binary file not shown.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "2",
"private": true,
"scripts": {
"dev": "bun server.ts",
"dev": "ts-node server.ts",
"build": "next build",
"start": "NODE_ENV=production bun server.ts",
"start": "NODE_ENV=production ts-node server.ts",
"lint": "next lint",
"generate": "prisma generate",
"studio": "prisma studio"
Expand All @@ -28,6 +28,7 @@
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"tailwindcss": "^3.4.14",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"devDependencies": {
Expand Down

0 comments on commit 1060a27

Please sign in to comment.