Replace the Serai scripts volume for directly copying the files

This should probably be done for the other images as well.
This commit is contained in:
Luke Parker
2022-10-23 21:01:11 -04:00
parent 7ecf8b22cf
commit 42a711ee51
2 changed files with 1 additions and 2 deletions

View File

@@ -38,8 +38,6 @@ services:
args: args:
TAG: serai TAG: serai
entrypoint: /scripts/entry-dev.sh entrypoint: /scripts/entry-dev.sh
volumes:
- "./serai/scripts:/scripts"
serai-base: serai-base:
<<: *serai_defaults <<: *serai_defaults

View File

@@ -36,6 +36,7 @@ WORKDIR /home/serai
# Copy necessary files to run node # Copy necessary files to run node
COPY --from=builder /serai/target/release/* /bin/ COPY --from=builder /serai/target/release/* /bin/
COPY --from=builder /serai/AGPL-3.0 . COPY --from=builder /serai/AGPL-3.0 .
COPY deploy/serai/scripts /scripts
# Run node # Run node
EXPOSE 30333 9615 9933 9944 EXPOSE 30333 9615 9933 9944