fix docker issues for ci
This commit is contained in:
parent
8ebf6ec3d2
commit
fd5848dfd7
@ -1,8 +1,8 @@
|
||||
FROM node:22
|
||||
WORKDIR /app
|
||||
COPY package.json bun.lockb ./
|
||||
COPY package.json ./
|
||||
RUN npm install -g bun && bun install
|
||||
COPY . .
|
||||
RUN bun run build:css
|
||||
RUN npm run build:css
|
||||
EXPOSE 3000
|
||||
CMD ["bun", "app.js"]
|
||||
CMD ["node", "app.js"]
|
@ -5,4 +5,4 @@ services:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- .:/app
|
||||
command: ["bun", "app.js"]
|
||||
command: ["node", "app.js"]
|
Loading…
x
Reference in New Issue
Block a user