penpot/docker/images/Dockerfile.storybook
2026-11-23 09:39:45 +01:00

12 lines
494 B
Docker

FROM dhi.io/nginx:1.31.9-alpine3.24@sha256:8e4ef1b2f3042abcdc65a1cea82f66692fac50eb2e5643d9a54a4178b732f788
LABEL maintainer="Penpot <docker@penpot.app>"
ARG BUNDLE_PATH="./bundle-storybook/"
COPY --chown=65532:65532 $BUNDLE_PATH /var/www/
COPY --chown=65532:65532 ./files/nginx.storybook.conf /etc/nginx/conf.d/default.conf
# Already the default user in the DHI runtime; explicit for clarity. Numeric
# UID, not by name -- this image has no "nonroot" entry in /etc/passwd.
USER 65532:65532