Skip to content
Snippets Groups Projects
Commit a4b5aa5e authored by michael.minelli's avatar michael.minelli
Browse files

Dockerfile => Change dependency so BuildKit don't skip database migration

parent 8901bf22
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,11 @@ LABEL Description="Express API for Dojo - Run stage"
ARG BUILD_WORKDIR
COPY --from=builder ${BUILD_WORKDIR}/node_modules ./node_modules
COPY --from=builder ${BUILD_WORKDIR}/package*.json ./
COPY --from=builder ${BUILD_WORKDIR}/dist ./dist
COPY --from=builder ${BUILD_WORKDIR}/prisma ./prisma
COPY --from=builder ${BUILD_WORKDIR}/.env ./.env
COPY --from=database-migration ${BUILD_WORKDIR}/node_modules ./node_modules
COPY --from=database-migration ${BUILD_WORKDIR}/package*.json ./
COPY --from=database-migration ${BUILD_WORKDIR}/dist ./dist
COPY --from=database-migration ${BUILD_WORKDIR}/prisma ./prisma
COPY --from=database-migration ${BUILD_WORKDIR}/.env ./.env
EXPOSE 30992
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment