# Lanvex Agent image from the prebuilt binaries in this folder.
FROM alpine:3.20
ARG TARGETARCH
RUN apk add --no-cache iputils ca-certificates tzdata
COPY lanvex-agent-${TARGETARCH} /usr/local/bin/lanvex-agent
RUN chmod +x /usr/local/bin/lanvex-agent
ENV LANVEX_DATA=/data
VOLUME /data
EXPOSE 7621
ENTRYPOINT ["lanvex-agent"]
CMD ["run"]
