Zhofang commited on
Commit
cce0abc
1 Parent(s): 9cddec7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -3,8 +3,10 @@ RUN chmod 777 -R /root
3
  WORKDIR /app
4
  RUN chmod 777 -R /app
5
  RUN apt update -y && apt upgrade -y
 
6
  RUN apt install python3 -y && apt install python3-pip -y
7
  RUN pip3 install flask --break-system-packages
 
8
  COPY . .
9
  EXPOSE 7860
10
  CMD ["python3", "app.py"]
 
3
  WORKDIR /app
4
  RUN chmod 777 -R /app
5
  RUN apt update -y && apt upgrade -y
6
+ RUN apt install nodejs
7
  RUN apt install python3 -y && apt install python3-pip -y
8
  RUN pip3 install flask --break-system-packages
9
+ RUN npm i gritty
10
  COPY . .
11
  EXPOSE 7860
12
  CMD ["python3", "app.py"]