Skip to content

Commit

Permalink
Update Dockerfile to use relative path for wait-for.sh and remove unu…
Browse files Browse the repository at this point in the history
…sed port exposure
  • Loading branch information
ariWeinberg committed Jan 10, 2025
1 parent 8d3b000 commit 71f2b35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN useradd -m -b / -s /bin/bash opal
WORKDIR /opal

# copy wait-for script (create link at old path to maintain backward compatibility)
COPY ./scripts/wait-for.sh .
COPY scripts/wait-for.sh .
RUN chmod +x ./wait-for.sh
RUN ln -s /opal/wait-for.sh /usr/wait-for.sh

Expand Down Expand Up @@ -119,8 +119,6 @@ ENV OPAL_INLINE_OPA_ENABLED=true
ENV OPAL_INLINE_OPA_EXEC_PATH=/opal/opa
# expose opa port
EXPOSE 8181
EXPOSE 5678

USER opal

# CEDAR CLIENT IMAGE --------------------------------
Expand Down

0 comments on commit 71f2b35

Please sign in to comment.