From 22f78a34767c02942bb2bb5f214debcda7c3885d Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 3 May 2020 02:53:53 +0300 Subject: [PATCH] dockerfile update --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ccea30..7f07d89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,10 @@ RUN npm run build FROM node:12 RUN printf '\n\n- Copy application frontend files\n' -COPY --from=builder /app/build ./application/front +ARG APP_SUBFOLDER=rxc-app + +COPY --from=builder /app/build ./application/front/${APP_SUBFOLDER} +COPY --from=builder /app/build/index.html ./application/front/ COPY --from=builder /app/start/front.sh ./application/front/ RUN chmod +x application/front/front.sh