Skip to content

Commit

Permalink
Fix Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Mar 24, 2024
1 parent 8549734 commit e0388f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN apt-get update \

RUN mkdir -p /app

COPY --from=builder /usr/src/app/target/release/cli /app/app
COPY --from=builder /usr/src/app/target/release/crows-cli /app/crows-cli

WORKDIR /app

ENTRYPOINT ["/app/app"]
ENTRYPOINT ["/app/crows-cli"]
4 changes: 2 additions & 2 deletions coordinator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ RUN apt-get update \

RUN mkdir -p /app

COPY --from=builder /usr/src/app/target/release/coordinator /app/app
COPY --from=builder /usr/src/app/target/release/crows-coordinator /app/crows-coordinator

WORKDIR /app

EXPOSE 8181
EXPOSE 8282

CMD ["/app/app"]
CMD ["/app/crows-coordinator"]
4 changes: 2 additions & 2 deletions worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ RUN apt-get update \

RUN mkdir -p /app

COPY --from=builder /app/target/release/worker /app/worker
COPY --from=builder /app/target/release/crows-worker /app/crows-worker

WORKDIR /app

ENV WORKER_NAME=$HOST

ENTRYPOINT ["/app/worker"]
ENTRYPOINT ["/app/crows-worker"]

0 comments on commit e0388f1

Please sign in to comment.