fix: Removed duplicate pkg + Dockerfile (alpha)
This commit is contained in:
parent
a68235190a
commit
cd600b0541
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM node:latest
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN yarn add wiki.js@latest
|
||||
|
||||
EXPOSE 3000
|
||||
CMD [ "node", "server" ]
|
@ -7,6 +7,7 @@
|
||||
[](https://gitter.im/Requarks/wiki)
|
||||
[](https://twitter.com/requarks)
|
||||
[](https://travis-ci.org/Requarks/wiki)
|
||||
[](https://g.codefresh.io/repositories/Requarks/wiki/builds?filter=trigger:build;branch:master;service:5903d09d270a090001e864b6~wiki)
|
||||
[](https://www.codacy.com/app/Requarks/wiki)
|
||||
[](https://gemnasium.com/github.com/Requarks/wiki)
|
||||
[](https://snyk.io/test/github/requarks/wiki)
|
||||
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
services:
|
||||
wikidb:
|
||||
image: mongo
|
||||
ports:
|
||||
- '27017'
|
||||
command: '--smallfiles --logpath=/dev/null'
|
||||
wikijs:
|
||||
image: 'requarks/wiki:master'
|
||||
links:
|
||||
- wikidb
|
||||
ports:
|
||||
- '3000'
|
||||
environment:
|
||||
- PORT: 3000
|
@ -112,7 +112,6 @@
|
||||
"serve-favicon": "^2.4.2",
|
||||
"simplemde": "^1.11.2",
|
||||
"socket.io": "^1.7.3",
|
||||
"sticky-js": "^1.0.7",
|
||||
"stopword": "^0.1.1",
|
||||
"stream-to-promise": "^2.2.0",
|
||||
"tar": "^2.2.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user