Block a user
affine-front (v3)
Published 2025-11-27 13:22:35 +00:00 by danthe
Installation
docker pull git.goroid.io/danthe/affine-front:v3sha256:b5002f59dc15eab0a5badbec76713a8e311be8ba787f93310710ab9c93e15572Image Layers
| ADD file:cce4de1623245f9f28e3365e6cf749d85dcfedddea2d6fbc963c309a40818f52 in / |
| CMD ["bash"] |
| LABEL maintainer=Evan Wies <evan@neomantra.net> |
| ARG RESTY_DEB_FLAVOR= |
| ARG RESTY_DEB_VERSION==1.27.1.1-1~buster1 |
| ARG RESTY_APT_REPO=https://openresty.org/package/debian |
| ARG RESTY_APT_PGP=https://openresty.org/package/pubkey.gpg |
| ARG RESTY_IMAGE_BASE=debian |
| ARG RESTY_IMAGE_TAG=buster-slim |
| LABEL resty_image_base=debian |
| LABEL resty_image_tag=buster-slim |
| LABEL resty_apt_repo=https://openresty.org/package/debian |
| LABEL resty_apt_pgp=https://openresty.org/package/pubkey.gpg |
| LABEL resty_deb_flavor= |
| LABEL resty_deb_version==1.27.1.1-1~buster1 |
| RUN |6 RESTY_DEB_FLAVOR= RESTY_DEB_VERSION==1.27.1.1-1~buster1 RESTY_APT_REPO=https://openresty.org/package/debian RESTY_APT_PGP=https://openresty.org/package/pubkey.gpg RESTY_IMAGE_BASE=debian RESTY_IMAGE_TAG=buster-slim /bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates gettext-base gnupg2 lsb-base lsb-release software-properties-common wget && wget -qO /tmp/pubkey.gpg ${RESTY_APT_PGP} && DEBIAN_FRONTEND=noninteractive apt-key add /tmp/pubkey.gpg && rm /tmp/pubkey.gpg && DEBIAN_FRONTEND=noninteractive add-apt-repository -y "deb ${RESTY_APT_REPO} $(lsb_release -sc) openresty" && DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge gnupg2 lsb-release software-properties-common wget && DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openresty${RESTY_DEB_FLAVOR}${RESTY_DEB_VERSION} && DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/openresty && ln -sf /dev/stdout /usr/local/openresty${RESTY_DEB_FLAVOR}/nginx/logs/access.log && ln -sf /dev/stderr /usr/local/openresty${RESTY_DEB_FLAVOR}/nginx/logs/error.log # buildkit |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin |
| COPY nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit |
| COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf # buildkit |
| CMD ["/usr/bin/openresty" "-g" "daemon off;"] |
| STOPSIGNAL SIGQUIT |
| WORKDIR /app |
| COPY ./packages/frontend/apps/web/dist ./dist # buildkit |
| COPY ./packages/frontend/admin/dist ./admin # buildkit |
| COPY ./packages/frontend/apps/mobile/dist ./mobile # buildkit |
| COPY ./nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # buildkit |
| COPY ./affine.nginx.conf /etc/nginx/conf.d/affine.nginx.conf # buildkit |
| RUN /bin/sh -c mkdir -p /var/log/nginx && rm /etc/nginx/conf.d/default.conf # buildkit |
| EXPOSE &{[{{12 0} {12 0}}] 0xc001deae80} |
| CMD ["/usr/local/openresty/bin/openresty" "-g" "daemon off;"] |
Labels
| Key | Value |
|---|---|
| maintainer | Evan Wies <evan@neomantra.net> |
| resty_apt_pgp | https://openresty.org/package/pubkey.gpg |
| resty_apt_repo | https://openresty.org/package/debian |
| resty_deb_flavor | |
| resty_deb_version | =1.27.1.1-1~buster1 |
| resty_image_base | debian |
| resty_image_tag | buster-slim |