adminFront/Containerfile
skeris 955dd23daf
Some checks failed
Deploy / DeployService (push) Has been cancelled
Deploy / CreateImage (push) Has been cancelled
fix base image
2025-06-17 20:40:41 +03:00

16 lines
446 B
Docker

FROM gitea.pena/penadevops/container-images/node:main as build
WORKDIR /usr/app
COPY . .
RUN npm install --force && yarn cache clean
RUN /usr/local/bin/psstat.sh "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 admin.conf /etc/nginx/conf.d/default.conf
COPY cert.pem /etc/nginx/cert.pem
COPY key.pem /etc/nginx/key.pem