Skip to content

Commit

Permalink
Added dockerfile to resolve Jack000#116. Tested on Ubuntu WSL and in …
Browse files Browse the repository at this point in the history
…a micro8s kubernetes cluster.
  • Loading branch information
nuvious committed Dec 22, 2024
1 parent 1248dc2 commit 8491895
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
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

0 comments on commit 8491895

Please sign in to comment.