Run migration on build

This commit is contained in:
Brian Cao 2022-08-23 10:49:45 -07:00
parent 549ef0295f
commit 3d7b3aa588
2 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,7 @@ ENV BASE_PATH $BASE_PATH
ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn build
RUN yarn build-docker
# Production image, copy all the files and run next
FROM node:16-alpine AS runner