1234567891011121314151617 |
- FROM docker.io/library/busybox:musl
- ARG TARGET_PATH
- ENV UIDC_CONFIG /data/uidc.toml
- EXPOSE 8080
- VOLUME /data
- COPY $TARGET_PATH/uidc /uidc/
- COPY static/ /uidc/static/
- COPY tmpl/ /uidc/tmpl/
- WORKDIR /uidc/
- CMD ["serve", "--bind", "0.0.0.0", "--port", "8080"]
- ENTRYPOINT ["/uidc/uidc"]
|