dockerfile update

master
Tudor Stanciu 2020-05-01 05:02:23 +03:00
parent 1844ed6e8d
commit 345f1d48ad
1 changed files with 4 additions and 2 deletions

View File

@ -12,8 +12,10 @@ RUN npm run build
FROM node:12
RUN printf '\n\n- Copy application files\n'
RUN printf 'Subfolder: ${PUBLIC_URL}'
COPY --from=builder /app/build ./application/play-nine
ARG APP_SUBFOLDER=play-nine
COPY --from=builder /app/build ./application/${APP_SUBFOLDER}
COPY --from=builder /app/build/index.html ./application/
RUN npm install -g serve@11.3.0