Jack698 commited on
Commit
2ac5955
·
verified ·
1 Parent(s): e77dd46

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -7
Dockerfile CHANGED
@@ -1,12 +1,15 @@
1
- FROM node:20-alpine
2
 
3
  WORKDIR /app
4
- ENV PYTHON=python3
 
 
5
 
6
- RUN apk add --no-cache git python3 make g++ \
 
 
7
  && apk del git make g++ \
8
- && rm -rf /root/.cache /tmp/*
9
-
10
- EXPOSE 3000
11
-
12
  CMD ["yarn", "start"]
 
1
+ FROM node:20-alpine
2
 
3
  WORKDIR /app
4
+ ENV PYTHON=python3 \
5
+ HOST=0.0.0.0 \
6
+ PORT=7860
7
 
8
+ RUN apk add --no-cache git python3 make g++ \
9
+ && git clone https://github.com/koodo-reader/koodo-reader.git . \
10
+ && yarn install \
11
  && apk del git make g++ \
12
+ && rm -rf /root/.cache /tmp/*
13
+
14
+ EXPOSE 7860
 
15
  CMD ["yarn", "start"]