🐜 fix(runner): Use proper directory (#177)

Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
This commit is contained in:
Kristian Ollikainen
2025-02-01 03:46:52 +02:00
committed by GitHub
parent 421aa70a7b
commit ec8d4f81da

View File

@@ -54,13 +54,13 @@ RUN --mount=type=cache,target=${CARGO_HOME}/registry \
ENV CARGO_TARGET_DIR=/builder/target
COPY packages/server/ ./packages/server/
COPY packages/server/ ./
# Build and install directly to artifacts
RUN --mount=type=cache,target=${CARGO_HOME}/registry \
--mount=type=cache,target=/builder/target \
cargo build --release && \
cp target/release/nestri-server "${ARTIFACTS}"
cp "${CARGO_TARGET_DIR}/release/nestri-server" "${ARTIFACTS}"
#******************************************************************************
# GST-Wayland Plugin Build Stages
@@ -179,4 +179,7 @@ COPY packages/scripts/ /etc/nestri/
RUN chmod +x /etc/nestri/{envs.sh,entrypoint*.sh} && \
locale-gen
COPY --from=nestri-server-cached-builder /artifacts /artifacts
RUN ls -la /artifacts/
ENTRYPOINT ["supervisord", "-c", "/etc/nestri/supervisord.conf"]