Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
RUN adduser -D app
|
| 7 |
EXPOSE 9001
|
| 8 |
-
CMD
|
|
|
|
| 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
|