FROM arm64v8/busybox:musl ENV UIDC_DB /data/uidc.db EXPOSE 8080 VOLUME /data RUN mkdir /uidc COPY target/aarch64-unknown-linux-musl/release/uidc /uidc/ COPY static/ /uidc/static/ COPY tmpl/ /uidc/tmpl/ WORKDIR /uidc/ CMD ["server", "--bind", "0.0.0.0", "--port", "8080"] ENTRYPOINT ["/uidc/uidc"]