Dockerfile (demo): re-enable plugin
This commit is contained in:
parent
92fd88fce5
commit
57272aa6db
2 changed files with 20 additions and 12 deletions
|
@ -28,9 +28,7 @@ RUN bin/installDeps.sh && rm settings.json && \
|
||||||
chmod +x /entrypoint.sh && \
|
chmod +x /entrypoint.sh && \
|
||||||
sed -i 's/^node/exec\ node/' bin/run.sh && \
|
sed -i 's/^node/exec\ node/' bin/run.sh && \
|
||||||
ln -s var/settings.json settings.json && \
|
ln -s var/settings.json settings.json && \
|
||||||
npm install ep_author_neat ep_headings2 ep_set_title_on_pad ep_adminpads ep_mypads ep_padwiki
|
npm install ep_author_neat ep_headings2 ep_set_title_on_pad ep_adminpads ep_mypads ep_padwiki ep_comments_page
|
||||||
|
|
||||||
# npm install ep_author_neat ep_headings2 ep_set_title_on_pad ep_adminpads ep_mypads ep_padwiki ep_comments_page
|
|
||||||
|
|
||||||
VOLUME /opt/etherpad-lite/var
|
VOLUME /opt/etherpad-lite/var
|
||||||
EXPOSE 9001
|
EXPOSE 9001
|
||||||
|
|
26
Makefile
26
Makefile
|
@ -1,17 +1,27 @@
|
||||||
|
|
||||||
NAME=$(shell basename "$$(pwd)")
|
USERNAME:=glenux
|
||||||
|
IMAGE:=$(shell basename "$$(pwd)")
|
||||||
|
TAG:=$(shell TZ=UTC date +"%Y%m%d")
|
||||||
|
|
||||||
all: build run
|
all:
|
||||||
|
|
||||||
# --build-arg "BUNDLE_BITBUCKET__ORG=$(BUNDLE_BITBUCKET__ORG)" \
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build -t "$(NAME)" .
|
docker build -t $(USERNAME)/$(IMAGE):$(TAG) .
|
||||||
|
|
||||||
run:
|
run:
|
||||||
docker run --rm -p 9001:9001 \
|
# remplir ici
|
||||||
-e DATABASE_URL="mysql://user:foo@databasehost/database?options" \
|
|
||||||
-t "$(NAME)" \
|
test: build
|
||||||
|
# remplir ici
|
||||||
|
|
||||||
|
# on produit des binaires, on les stocke qqpart
|
||||||
#
|
#
|
||||||
|
deliver:
|
||||||
|
# remplir ici
|
||||||
|
|
||||||
|
# on utilise les binaires pour faire fonctionner le service
|
||||||
|
# en ligne
|
||||||
|
#
|
||||||
|
# deploy:
|
||||||
|
# # ...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue