working docker image

This commit is contained in:
Ben 2024-05-08 14:21:47 +02:00
parent 6eec0744ad
commit 9ef92ca5fc
No known key found for this signature in database
GPG Key ID: 541B9D8C9F1426A1
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ ARG BUILD_HOME
ARG MAKE_PARALLEL ARG MAKE_PARALLEL
ARG NIMFLAGS ARG NIMFLAGS
RUN apt-get update && apt-get install -y git cmake curl make bash lcov build-essential rustc cargo RUN apt-get update && apt-get install -y git cmake curl make bash lcov build-essential rustc cargo libleveldb-dev
WORKDIR ${BUILD_HOME} WORKDIR ${BUILD_HOME}
COPY . . COPY . .
@ -31,7 +31,7 @@ WORKDIR ${APP_HOME}
COPY --from=builder ${BUILD_HOME}/build/codex /usr/local/bin COPY --from=builder ${BUILD_HOME}/build/codex /usr/local/bin
COPY --chmod=0755 docker/docker-entrypoint.sh / COPY --chmod=0755 docker/docker-entrypoint.sh /
COPY ./openapi.yaml . COPY ./openapi.yaml .
RUN apt-get update && apt-get install -y libgomp1 bash curl jq && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y libgomp1 bash curl jq libleveldb-dev && rm -rf /var/lib/apt/lists/*
ENV NAT_IP_AUTO=${NAT_IP_AUTO} ENV NAT_IP_AUTO=${NAT_IP_AUTO}
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["codex"] CMD ["codex"]