sotiriskot commited on
Commit
2e01306
·
verified ·
1 Parent(s): 341be8b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -15,10 +15,9 @@ RUN python /app/download_model.py
15
  # download nltk punkt and stopwords
16
  RUN python3 -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')"
17
 
18
- RUN --mount=type=secret,id=API_IP,mode=0444,required=true
19
- RUN --mount=type=secret,id=API_PORT,mode=0444,required=true
20
- RUN --mount=type=secret,id=API_ENDPOINT,mode=0444,required=true
21
- RUN ls /run/secrets/
22
 
23
  # Set the working directory in the container
24
  WORKDIR /app/src
 
15
  # download nltk punkt and stopwords
16
  RUN python3 -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')"
17
 
18
+ RUN --mount=type=secret,id=API_IP,mode=0444,required=true \ ls /run/secrets/
19
+ RUN --mount=type=secret,id=API_PORT,mode=0444,required=true \ ls /run/secrets/
20
+ RUN --mount=type=secret,id=API_ENDPOINT,mode=0444,required=true \ ls /run/secrets/
 
21
 
22
  # Set the working directory in the container
23
  WORKDIR /app/src