Nereus/build/web.Dockerfile
Fi3w0 ba1118bd92
Some checks failed
CI and deploy / verify (push) Successful in 2m4s
CI and deploy / publish (push) Successful in 39s
CI and deploy / deploy (push) Failing after 1s
fix(build): patch web image libraries
2026-08-27 19:32:53 +02:00

13 lines
460 B
Docker

FROM nginxinc/nginx-unprivileged:1.31.4-alpine
USER root
RUN apk upgrade --no-cache libcrypto3 libssl3
COPY build/web.conf.template /etc/nginx/templates/default.conf.template
ARG WEB_ASSET_PATH=apps/web
COPY ${WEB_ASSET_PATH}/index.html ${WEB_ASSET_PATH}/styles.css ${WEB_ASSET_PATH}/app.js /usr/share/nginx/html/
COPY ${WEB_ASSET_PATH}/assets/ /usr/share/nginx/html/assets/
COPY ${WEB_ASSET_PATH}/vendor/ /usr/share/nginx/html/vendor/
USER 101
EXPOSE 8080