Create Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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"]
|