[add] tiddlywiki
This commit is contained in:
parent
a9dbf3d97f
commit
98ac578d88
1 changed files with 20 additions and 0 deletions
20
tiddlywiki/DockerFile
Normal file
20
tiddlywiki/DockerFile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
FROM node:alpine
|
||||||
|
|
||||||
|
ENV TIDDLYWIKI_VERSION=5.2.0
|
||||||
|
|
||||||
|
ARG SOURCE_COMMIT
|
||||||
|
LABEL maintainer="Aaron Bull Schaefer <aaron@elasticdog.com>"
|
||||||
|
LABEL source="https://github.com/elasticdog/tiddlywiki-docker"
|
||||||
|
LABEL source-commit="${SOURCE_COMMIT:-unknown}"
|
||||||
|
|
||||||
|
# https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#handling-kernel-signals
|
||||||
|
RUN apk add --no-cache tini
|
||||||
|
RUN npm install -g tiddlywiki@${TIDDLYWIKI_VERSION}
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
VOLUME /tiddlywiki
|
||||||
|
WORKDIR /tiddlywiki
|
||||||
|
|
||||||
|
ENTRYPOINT ["/sbin/tini", "--", "tiddlywiki"]
|
||||||
|
CMD ["--help"]
|
Loading…
Add table
Reference in a new issue