mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐜 fix(runner): Use proper directory (#177)
Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
421aa70a7b
commit
ec8d4f81da
@@ -54,13 +54,13 @@ RUN --mount=type=cache,target=${CARGO_HOME}/registry \
|
|||||||
|
|
||||||
ENV CARGO_TARGET_DIR=/builder/target
|
ENV CARGO_TARGET_DIR=/builder/target
|
||||||
|
|
||||||
COPY packages/server/ ./packages/server/
|
COPY packages/server/ ./
|
||||||
|
|
||||||
# Build and install directly to artifacts
|
# Build and install directly to artifacts
|
||||||
RUN --mount=type=cache,target=${CARGO_HOME}/registry \
|
RUN --mount=type=cache,target=${CARGO_HOME}/registry \
|
||||||
--mount=type=cache,target=/builder/target \
|
--mount=type=cache,target=/builder/target \
|
||||||
cargo build --release && \
|
cargo build --release && \
|
||||||
cp target/release/nestri-server "${ARTIFACTS}"
|
cp "${CARGO_TARGET_DIR}/release/nestri-server" "${ARTIFACTS}"
|
||||||
|
|
||||||
#******************************************************************************
|
#******************************************************************************
|
||||||
# GST-Wayland Plugin Build Stages
|
# GST-Wayland Plugin Build Stages
|
||||||
@@ -179,4 +179,7 @@ COPY packages/scripts/ /etc/nestri/
|
|||||||
RUN chmod +x /etc/nestri/{envs.sh,entrypoint*.sh} && \
|
RUN chmod +x /etc/nestri/{envs.sh,entrypoint*.sh} && \
|
||||||
locale-gen
|
locale-gen
|
||||||
|
|
||||||
|
COPY --from=nestri-server-cached-builder /artifacts /artifacts
|
||||||
|
RUN ls -la /artifacts/
|
||||||
|
|
||||||
ENTRYPOINT ["supervisord", "-c", "/etc/nestri/supervisord.conf"]
|
ENTRYPOINT ["supervisord", "-c", "/etc/nestri/supervisord.conf"]
|
||||||
|
|||||||
Reference in New Issue
Block a user