mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 11:49:39 -05:00
* consolidate deserializers * key value list doc * use string list deserializers for all entity Vec<String> * add additional env files support * plumbing for Action resource * js client readme indentation * regen lock * add action UI * action backend * start on action frontend * update lock * get up to speed * get action started * clean up default action file * seems to work * toml export include action * action works * action works part 2 * bump rust version to 1.82.0 * copy deno bin from bin image * action use local dir * update not having changes doesn't return error * format with prettier * support yaml formatting with prettier * variable no change is Ok
29 lines
738 B
Docker
29 lines
738 B
Docker
# Build Periphery
|
|
FROM rust:1.82.0-bullseye AS builder
|
|
WORKDIR /builder
|
|
COPY . .
|
|
RUN cargo build -p komodo_periphery --release
|
|
|
|
# Final Image
|
|
FROM debian:bullseye-slim
|
|
|
|
# # Install Deps
|
|
COPY ./bin/periphery/debian-deps.sh .
|
|
RUN sh ./debian-deps.sh && rm ./debian-deps.sh
|
|
|
|
# Setup an application directory
|
|
WORKDIR /app
|
|
|
|
# Copy
|
|
COPY --from=builder /builder/target/release/periphery /app
|
|
|
|
# Hint at the port
|
|
EXPOSE 8120
|
|
|
|
# Label for Ghcr
|
|
LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo
|
|
LABEL org.opencontainers.image.description="Komodo Periphery"
|
|
LABEL org.opencontainers.image.licenses=GPL-3.0
|
|
|
|
# Using ENTRYPOINT allows cli args to be passed, eg using "command" in docker compose.
|
|
ENTRYPOINT [ "/app/periphery" ] |