dockerfile update
parent
1844ed6e8d
commit
345f1d48ad
|
@ -12,8 +12,10 @@ RUN npm run build
|
||||||
FROM node:12
|
FROM node:12
|
||||||
|
|
||||||
RUN printf '\n\n- Copy application files\n'
|
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/
|
COPY --from=builder /app/build/index.html ./application/
|
||||||
|
|
||||||
RUN npm install -g serve@11.3.0
|
RUN npm install -g serve@11.3.0
|
||||||
|
|
Loading…
Reference in New Issue