0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00
penpot/docker/images/Dockerfile.frontend

16 lines
482 B
Text
Raw Normal View History

FROM nginx:1.23
2020-09-09 15:49:06 +02:00
LABEL maintainer="Andrey Antukh <niwi@niwi.nz>"
RUN set -ex; \
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
mkdir -p /opt/data/assets; \
chown -R penpot:penpot /opt/data;
ADD ./bundle-frontend/ /var/www/app/
2021-02-09 12:12:25 +01:00
ADD ./files/config.js /var/www/app/js/config.js
ADD ./files/nginx.conf /etc/nginx/nginx.conf.template
2020-09-09 15:49:06 +02:00
ADD ./files/nginx-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]