mirror of
https://github.com/penpot/penpot.git
synced 2026-07-30 09:56:22 +00:00
🐳 Migrate frontend image to alpine
This commit is contained in:
parent
7cb7f7adb2
commit
a2d7b6b29f
@ -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