mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-26 00:24:02 +00:00
dockerfile wip
This commit is contained in:
parent
468f3e8c8f
commit
9935ebfa9b
17
DockerFile
Normal file
17
DockerFile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM node:18
|
||||
|
||||
WORKDIR /usr/src/kidshift
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npx prisma generate
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "start"]
|
||||
|
||||
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user