13 lines
307 B
Docker
13 lines
307 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM node:18.17.0-bullseye
|
|
|
|
ENV NODE_ENV=development
|
|
|
|
WORKDIR /app
|
|
|
|
EXPOSE 3000
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci --legacy-peer-deps --loglevel verbose
|
|
CMD ["sh","-c","npm install --loglevel verbose --legacy-peer-deps && npx prisma migrate dev && npm run dev"] |