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