fix: Docker fixes
This commit is contained in:
parent
00da4e3e05
commit
4e4614e6f9
@ -1,13 +1,12 @@
|
|||||||
FROM node:6-alpine
|
FROM node:8-alpine
|
||||||
|
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk update && apk upgrade && \
|
||||||
apk add --no-cache bash git openssh
|
apk add --no-cache bash git openssh
|
||||||
|
|
||||||
ENV WIKI_JS_DOCKER 1
|
ENV WIKI_JS_DOCKER 1
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
RUN npm install wiki.js@latest
|
RUN npm install wiki.js@latest
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD [ "node", "server" ]
|
ENTRYPOINT [ "node", "server" ]
|
||||||
|
@ -6,10 +6,10 @@ services:
|
|||||||
- '27017'
|
- '27017'
|
||||||
command: '--smallfiles --logpath=/dev/null'
|
command: '--smallfiles --logpath=/dev/null'
|
||||||
wikijs:
|
wikijs:
|
||||||
image: 'requarks/wiki:master'
|
image: 'requarks/wiki:latest'
|
||||||
links:
|
links:
|
||||||
- wikidb
|
- wikidb
|
||||||
ports:
|
ports:
|
||||||
- '3000'
|
- '3000'
|
||||||
environment:
|
environment:
|
||||||
- PORT: 3000
|
- PORT=3000
|
||||||
|
Loading…
Reference in New Issue
Block a user