Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Dockerfile for local/self-hosted running of the tool. #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dockerfile
*.md
License.txt
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM nginx:stable-alpine

COPY . /usr/share/nginx/html/
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ Performs similarly to commercial software, after both have run for about 5 minut

![Concave flag example](http://svgnest.com/github/concave.png)

## Run with Docker

A Dockerfile has been provided for those wanting to run locally/self-host with [Docker](https://www.docker.com/).
Build/run commands provided below:

```bash
docker build -t svgnest .
docker run -d --name svgnest -p 8080:80 svgnest
```

The instance is then available by navigating to http://localhost:8080.

## To-do

- ~~Recursive placement (putting parts in holes of other parts)~~
Expand Down