Add tsconfig.json to production container

This commit is contained in:
Max Schmidt 2023-06-17 12:41:31 +02:00
parent 9f78d9abb4
commit 0f9a1c36f5

View File

@ -21,6 +21,8 @@ ENV NODE_ENV=production
WORKDIR /prod
COPY package*.json .
RUN yarn install --production
COPY --from=build /build/tsconfig.json ./tsconfig.json
COPY --from=build /build/dist ./dist
COPY --from=build /build/build ./build
EXPOSE 3000