Adding Docker support
This commit is contained in:
parent
ceb05f683e
commit
37a9ae79f1
3 changed files with 32 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM node:15.14.0-stretch
|
||||||
|
WORKDIR /app
|
||||||
|
COPY ./ /app/
|
||||||
|
EXPOSE 8080
|
||||||
|
RUN npm i
|
||||||
|
RUN npm install -g @gridspace/app-server
|
||||||
|
CMD gs-app-server --debug
|
||||||
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: '3.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
kirimoto:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
13
readme.md
13
readme.md
|
|
@ -36,6 +36,19 @@ Contributions in all forms (code, bug reports, community engagement, localizatio
|
||||||
* [Discord Chat](https://discord.com/channels/688863523207774209/688863523211968535)
|
* [Discord Chat](https://discord.com/channels/688863523207774209/688863523211968535)
|
||||||
* [Wiki Reference](https://github.com/GridSpace/grid-apps/wiki)
|
* [Wiki Reference](https://github.com/GridSpace/grid-apps/wiki)
|
||||||
|
|
||||||
|
### Testing Locally (with Docker)
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone git@github.com:GridSpace/grid-apps.git
|
||||||
|
cd grid-apps
|
||||||
|
docker-compose build
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now access your environment of grid-apps by going to:
|
||||||
|
[Kiri:Moto](http://127.0.0.1:8080/kiri) or
|
||||||
|
[Meta:Moto](http://127.0.0.1:8080/meta).
|
||||||
|
|
||||||
### Testing Locally
|
### Testing Locally
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue