All checks were successful
Build and Push App / build (push) Successful in 1m54s
14 lines
276 B
Docker
14 lines
276 B
Docker
FROM node:20-alpine
|
|
RUN apk add --no-cache libc6-compat openssl
|
|
WORKDIR /app
|
|
|
|
# On copie tout, on installe tout, on build tout au même endroit
|
|
COPY . .
|
|
RUN npm install
|
|
RUN npx prisma generate
|
|
RUN npm run build
|
|
|
|
EXPOSE 3000
|
|
|
|
# On lance directement via npm
|
|
CMD ["npm", "start"] |