penpot/docker/images/Dockerfile.storybook
David Barragán Merino 97a833f1e7
🐳 Migrate penpot images to DHI (#10734)
Move Dockerfile.frontend, .backend, .exporter, .mcp and .storybook
under docker/images/ from ubuntu:26.04 / nginx-unprivileged / a
manual Node tarball install to Docker Hardened Images (Debian 13,
or Alpine for storybook). storybook and mcp get a true non-dev
runtime; frontend, backend and exporter keep the -dev tag as their
final image, since each needs a shell and/or package manager at
container runtime (nginx templating, fontforge/python3, and a
headless-browser stack, respectively).
2026-07-31 19:27:15 +02:00

12 lines
422 B
Docker

FROM dhi.io/nginx:1.31.1-alpine3.22
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