Skip to content

Commit

Permalink
wip3
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Mar 19, 2024
1 parent be67426 commit 6886964
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ RUN python setup.py install --user

FROM golang:bullseye as OPABuildStage

COPY --optional ./permit-opa/custom /custom
# Check if the source directory exists before copying
RUN if [ -d ./permit-opa/custom ]; then \
cp -r ./permit-opa/custom /custom; \
else \
echo "Source directory does not exist. Skipping."; \
fi
#COPY ./permit-opa/custom /custom

RUN if [ -f /custom/custom_opa.tar.gz ]; \
then \
Expand Down

0 comments on commit 6886964

Please sign in to comment.