fix docker issues for ci

This commit is contained in:
Aidan 2024-12-17 00:37:18 -05:00
parent 8ebf6ec3d2
commit fd5848dfd7
No known key found for this signature in database
GPG Key ID: 1773A01F0EFE4FC1
2 changed files with 4 additions and 4 deletions

View File

@ -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"]

View File

@ -5,4 +5,4 @@ services:
- "3000:3000"
volumes:
- .:/app
command: ["bun", "app.js"]
command: ["node", "app.js"]