Containerfile 289 B

1234567891011121314151617
  1. FROM docker.io/library/busybox:musl
  2. ARG TARGET_PATH
  3. ENV UIDC_CONFIG /data/uidc.toml
  4. EXPOSE 8080
  5. VOLUME /data
  6. COPY $TARGET_PATH/uidc /uidc/
  7. COPY static/ /uidc/static/
  8. COPY tmpl/ /uidc/tmpl/
  9. WORKDIR /uidc/
  10. CMD ["serve", "--bind", "0.0.0.0", "--port", "8080"]
  11. ENTRYPOINT ["/uidc/uidc"]