From 97b2f8d6386b20f8f0d1d856e27a50346c88ab20 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 20 Jan 2023 21:35:27 +0300 Subject: [PATCH] fix dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af668d4..e045236 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,12 @@ VOLUME [ "/var/www/data" ] # Copy custom configuration file from the current directory WORKDIR ${BUILD_PATH} -COPY . ${BUILD_PATH} + +COPY tsconfig.json tsconfig.json +COPY package.json package.json +COPY yarn.lock yarn.lock +COPY src src +COPY build build RUN yarn install RUN yarn build