forked from weseek/growi-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
28 lines (24 loc) · 936 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM weseek/growi:3
LABEL maintainer Yuki Takei <[email protected]>
ENV APP_DIR /opt/growi
# install dockerize
ENV DOCKERIZE_VERSION v0.6.1
RUN apk add --no-cache --virtual .dl-deps curl \
&& curl -SL https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
| tar -xz -C /usr/local/bin \
&& apk del .dl-deps
WORKDIR ${APP_DIR}
# install plugins if necessary
# ;;
# ;; NOTE: In GROWI v3 and later,
# ;; 2 of official plugins (growi-plugin-lsx and growi-plugin-pukiwiki-like-linker)
# ;; are now included in the 'weseek/growi' image.
# ;; Therefore you will not need following lines except when you install third-party plugins.
# ;;
#RUN echo "install plugins" \
# && yarn add \
# growi-plugin-XXX \
# growi-plugin-YYY \
# && echo "done."
# you must rebuild if install plugin at least one
# RUN npm run build:prod