Adding Docker support

This commit is contained in:
Shea Silverman 2021-04-10 00:45:49 -04:00
commit 37a9ae79f1
3 changed files with 32 additions and 0 deletions

7
Dockerfile Normal file
View 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
View file

@ -0,0 +1,12 @@
version: '3.1'
services:
kirimoto:
build:
context: .
ports:
- "8080:8080"

View file

@ -36,6 +36,19 @@ Contributions in all forms (code, bug reports, community engagement, localizatio
* [Discord Chat](https://discord.com/channels/688863523207774209/688863523211968535)
* [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
```