mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐳 Migrate storybook image to alpine
This commit is contained in:
parent
572b094bab
commit
fe86359dc8
@ -1,10 +1,14 @@
|
|||||||
FROM nginxinc/nginx-unprivileged:1.30.0
|
FROM nginxinc/nginx-unprivileged:1.30.2-alpine
|
||||||
LABEL maintainer="Penpot <docker@penpot.app>"
|
LABEL maintainer="Penpot <docker@penpot.app>"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot;
|
apk update; \
|
||||||
|
apk upgrade; \
|
||||||
|
rm -rf /var/cache/apk/*; \
|
||||||
|
addgroup -g 1001 penpot; \
|
||||||
|
adduser -D -H -u 1001 -s /bin/false -h /opt/penpot -G penpot penpot;
|
||||||
|
|
||||||
ARG BUNDLE_PATH="./bundle-storybook/"
|
ARG BUNDLE_PATH="./bundle-storybook/"
|
||||||
COPY $BUNDLE_PATH /var/www/
|
COPY $BUNDLE_PATH /var/www/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user