Skip to content

Commit

Permalink
chore: fix dockerfile to use packed scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
betarixm committed Dec 11, 2023
1 parent 290723d commit 8c423fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/master/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ ENV NUMBER_OF_WORKERS=${NUMBER_OF_WORKERS}

WORKDIR /app

COPY --from=builder /app/master/target/scala-2.13/master.jar .
COPY --from=builder /app/build/master .

ENTRYPOINT java -jar master.jar ${NUMBER_OF_WORKERS}
ENTRYPOINT ./master ${NUMBER_OF_WORKERS}
4 changes: 2 additions & 2 deletions docker/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ COPY docker/worker/data/${WORKER_ID} /data

WORKDIR /app

COPY --from=builder /app/worker/target/scala-2.13/worker.jar .
COPY --from=builder /app/build/worker .

ENTRYPOINT java -jar worker.jar ${MASTER_HOST}:${MASTER_PORT} -I /data/0 /data/1 -O /output/
ENTRYPOINT ./worker ${MASTER_HOST}:${MASTER_PORT} -I /data/0 /data/1 -O /output/

0 comments on commit 8c423fe

Please sign in to comment.