mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
15 lines
173 B
Text
15 lines
173 B
Text
|
FROM node:16 as builder
|
||
|
|
||
|
# Create app dir
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package*.json ./
|
||
|
COPY prisma ./prisma/
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 8080
|
||
|
|
||
|
CMD ["npm", "run", "prod:start"]
|