From a8fa574f66f54a96555f4b65c79e9744b2d11362 Mon Sep 17 00:00:00 2001 From: dm1sh Date: Fri, 5 Mar 2021 22:19:35 +0500 Subject: [PATCH] possibly fixed build error --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 153dbda..8696bc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,7 @@ WORKDIR /backend COPY package.json /backend/package.json RUN yarn COPY . /backend -RUN yarn codegen -RUN yarn prisma generate -RUN yarn build +RUN yarn prisma generate && yarn codegen && yarn build FROM node:alpine WORKDIR /backend