mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-03-18 21:30:40 +01:00
fix: update import paths for components and utilities to relative paths
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,10 +1,13 @@
|
||||
FROM node:22-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY pnpm-lock.yaml ./
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
ENV NEXTAUTH_SECRET=your_super_secret_key_here_change_in_production
|
||||
RUN npx prisma generate
|
||||
RUN npm run build
|
||||
RUN npx prisma db push
|
||||
RUN pnpm run build
|
||||
EXPOSE 3000
|
||||
CMD ["npm", "start"]
|
||||
|
||||
CMD ["pnpm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user