rajeshradhakrishnan commited on
Commit
37da163
1 Parent(s): 7c72cd0

English-Malayalam Translate v34

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -28,9 +28,7 @@ WORKDIR $HOME/app
28
  COPY --chown=user . $HOME/app
29
 
30
  RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
31
- API_KEY=$(cat /run/secrets/API_KEY)
32
-
33
- RUN echo "const API_KEY = '${API_KEY}';" > $HOME/app/static/config.js
34
 
35
  RUN cat $HOME/app/static/config.js
36
 
 
28
  COPY --chown=user . $HOME/app
29
 
30
  RUN --mount=type=secret,id=API_KEY,mode=0444,required=true \
31
+ echo "const API_KEY = '$(cat /run/secrets/API_KEY)';" > $HOME/app/static/config.js
 
 
32
 
33
  RUN cat $HOME/app/static/config.js
34