zhzabcd commited on
Commit
2e1e613
·
verified ·
1 Parent(s): d76b3ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,8 +1,12 @@
1
  FROM alpine AS builder
 
2
  RUN apk add --no-cache nodejs npm git
3
 
4
- RUN npm install npm -g
 
 
 
5
 
6
  RUN adduser -D app
7
  EXPOSE 9001
8
- CMD ["git clone --branch master https://github.com/ether/etherpad-lite.git && cd etherpad-lite && bin/run.sh"]
 
1
  FROM alpine AS builder
2
+ USER root
3
  RUN apk add --no-cache nodejs npm git
4
 
5
+
6
+ WORKDIR /home
7
+ RUN git clone --branch master https://github.com/ether/etherpad-lite.git && \
8
+ cd etherpad-lite
9
 
10
  RUN adduser -D app
11
  EXPOSE 9001
12
+ CMD ./bin/run.sh