frontPanel/Dockerfile
skeris f5cf23fdef
All checks were successful
Deploy / CreateImage (push) Successful in 8m54s
Deploy / DeployService (push) Successful in 24s
ci prod
2025-03-09 02:27:22 +03:00

14 lines
351 B
Docker

FROM gitea.pena/penadevops/container-images/node:main as build
WORKDIR /usr/app
COPY . .
RUN npm install --force && yarn cache clean
RUN npm run build
FROM gitea.pena/penadevops/container-images/nginx:main as result
WORKDIR /usr/share/nginx/html
COPY --from=build /usr/app/build/ /usr/share/nginx/html
COPY hub.conf /etc/nginx/conf.d/default.conf