Skip to content

Commit

Permalink
Docker: Set execute bit for all users (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Apr 8, 2024
1 parent 9b31fad commit f8a7519
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ WORKDIR /app
COPY . .

RUN sbt update compile stage
RUN chmod a+rx /app/target/universal/stage/bin/*

FROM openjdk:11-jre-slim

WORKDIR /app

COPY --from=build /app/target/universal/stage /app

COPY docker/entrypoint.sh /app/entrypoint.sh
RUN sed -i 's/\r$//' /app/entrypoint.sh && chmod +x /app/entrypoint.sh
COPY --chmod=755 docker/entrypoint.sh /app/entrypoint.sh
RUN sed -i 's/\r$//' /app/entrypoint.sh

ENTRYPOINT ["/app/entrypoint.sh"]

0 comments on commit f8a7519

Please sign in to comment.