mirror of
https://github.com/penpot/penpot.git
synced 2026-07-29 01:16:14 +00:00
🐳 Migrate frontend image to alpine
This commit is contained in:
parent
739a2d4958
commit
572b094bab
@ -1,10 +1,15 @@
|
||||
FROM nginxinc/nginx-unprivileged:1.30.0
|
||||
FROM nginxinc/nginx-unprivileged:1.30.2-alpine
|
||||
LABEL maintainer="Penpot <docker@penpot.app>"
|
||||
|
||||
USER root
|
||||
|
||||
RUN set -ex; \
|
||||
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
|
||||
apk update; \
|
||||
apk upgrade; \
|
||||
apk add --no-cache bash gettext; \
|
||||
rm -rf /var/cache/apk/*; \
|
||||
addgroup -g 1001 penpot; \
|
||||
adduser -D -H -u 1001 -s /bin/false -h /opt/penpot -G penpot penpot; \
|
||||
mkdir -p /opt/data/assets; \
|
||||
chown -R penpot:penpot /opt/data; \
|
||||
mkdir -p /etc/nginx/overrides/main.d/; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user