| ADD alpine-minirootfs-3.21.6-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| WORKDIR /app |
| RUN /bin/sh -c apk add --no-cache ca-certificates tzdata wget # buildkit |
| RUN /bin/sh -c adduser -D -u 1001 appuser # buildkit |
| COPY /build/target/release/storefront /app/storefront # buildkit |
| COPY templates/ /app/templates/ # buildkit |
| COPY themes/ /app/themes/ # buildkit |
| COPY static/ /app/static/ # buildkit |
| COPY migrations/ /app/migrations/ # buildkit |
| RUN /bin/sh -c mkdir -p /app/data # buildkit |
| RUN /bin/sh -c chown -R appuser:appuser /app # buildkit |
| USER appuser |
| LABEL org.opencontainers.image.source=https://dev.a8n.run/a8n-tools/storefront |
| ENV RUST_LOG=info |
| EXPOSE [4020/tcp] |
| ENTRYPOINT ["/app/storefront"] |