InfosysResponsibleAiToolKit commited on
Commit
6a07999
·
1 Parent(s): f2fcfef

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -41,6 +41,12 @@ RUN ls -la
41
 
42
  COPY --chown=user . /Responsible-AI-Privacy/responsible-ai-privacy/lib
43
 
 
 
 
 
 
 
44
  WORKDIR /Responsible-AI-Privacy/responsible-ai-privacy
45
 
46
  RUN ls -la
 
41
 
42
  COPY --chown=user . /Responsible-AI-Privacy/responsible-ai-privacy/lib
43
 
44
+
45
+ # Check if the file exists in the expected location
46
+ RUN if [ ! -f "/Responsible-AI-Privacy/responsible-ai-privacy/src/privacy/util/model/craft_mlt_25k.pth" ]; then \
47
+ echo "File does not exist!"; exit 1; \
48
+ else echo "File exists!"; fi
49
+
50
  WORKDIR /Responsible-AI-Privacy/responsible-ai-privacy
51
 
52
  RUN ls -la