Add tsconfig.json to production container
This commit is contained in:
parent
9f78d9abb4
commit
0f9a1c36f5
@ -21,6 +21,8 @@ ENV NODE_ENV=production
|
|||||||
WORKDIR /prod
|
WORKDIR /prod
|
||||||
COPY package*.json .
|
COPY package*.json .
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
|
||||||
|
COPY --from=build /build/tsconfig.json ./tsconfig.json
|
||||||
COPY --from=build /build/dist ./dist
|
COPY --from=build /build/dist ./dist
|
||||||
COPY --from=build /build/build ./build
|
COPY --from=build /build/build ./build
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
Loading…
Reference in New Issue
Block a user