Feat: Added script to create users and Upgrade Database
This commit is contained in:
parent
3a766620b7
commit
0ea1d4a3e4
4 changed files with 132 additions and 51 deletions
|
@ -8,8 +8,6 @@ COPY . .
|
|||
# build
|
||||
RUN npx prisma generate
|
||||
RUN npm run build
|
||||
# remove dev dependencies
|
||||
RUN npm prune --production
|
||||
|
||||
FROM node:alpine
|
||||
|
||||
|
@ -23,6 +21,7 @@ COPY --from=build /app/.next ./.next
|
|||
COPY --from=build /app/public ./public
|
||||
COPY --from=build /app/tools ./tools
|
||||
COPY --from=build /app/data ./data
|
||||
COPY --from=build /app/prisma ./prisma
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["npm","run","start"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue