possibly fixed build error

This commit is contained in:
Dmitriy Shishkov 2021-03-05 22:19:35 +05:00
parent aa73cc9a83
commit a8fa574f66
No known key found for this signature in database
GPG Key ID: 7CAE12ED13853CAC

View File

@ -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