dockerfile update

master
Tudor Stanciu 2020-05-03 02:53:53 +03:00
parent 69dfc4eb34
commit 22f78a3476
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,10 @@ RUN npm run build
FROM node:12 FROM node:12
RUN printf '\n\n- Copy application frontend files\n' 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/ COPY --from=builder /app/start/front.sh ./application/front/
RUN chmod +x application/front/front.sh RUN chmod +x application/front/front.sh