File size: 1,927 Bytes
2ac5955
31de806
e77dd46
2ac5955
 
 
31de806
2ac5955
 
 
e77dd46
2ac5955
 
 
e77dd46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  FROM node:20-alpine                                                                                                                                    
                                                                                                                                                         
  WORKDIR /app                                                                                                                                           
  ENV PYTHON=python3 \                                                                                                                                   
      HOST=0.0.0.0 \                                                                                                                                     
      PORT=7860                                                                                                                                          
                                                                                                                                                         
  RUN apk add --no-cache git python3 make g++ \                                                                                                          
      && git clone https://github.com/koodo-reader/koodo-reader.git . \                                                                                  
      && yarn install \
      && apk del git make g++ \
      && rm -rf /root/.cache /tmp/*                                                                                                                      
                                                                                                                                                         
  EXPOSE 7860                                                                                                                                            
  CMD ["yarn", "start"]