==
This commit is contained in:
parent
6169e03d9a
commit
c99efbe720
@ -6,10 +6,13 @@ COPY . .
|
|||||||
|
|
||||||
RUN npm install --force && yarn cache clean
|
RUN npm install --force && yarn cache clean
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
RUN ls build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM gitea.pena/penadevops/container-images/nginx:main as result
|
FROM gitea.pena/penadevops/container-images/nginx:main as result
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
COPY --from=build /usr/app/build/ /usr/share/nginx/html
|
COPY --from=build /usr/app/build/ /usr/share/nginx/html
|
||||||
|
RUN ls /usr/share/nginx/html
|
||||||
COPY fallback.js /usr/share/nginx/html/fallback.js
|
COPY fallback.js /usr/share/nginx/html/fallback.js
|
||||||
COPY hub.conf /etc/nginx/conf.d/default.conf
|
COPY hub.conf /etc/nginx/conf.d/default.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user