Skip to content

Commit

Permalink
docker image added for quick trial
Browse files Browse the repository at this point in the history
Signed-off-by: AbhishekKr <[email protected]>
  • Loading branch information
abhishekkr committed Oct 18, 2017
1 parent 0f1d91f commit 55b7468
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*
!bin/dory-linux-amd64
!templates
!w3assets
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## dory

quick try using docker [abhishekkr/dory:0.1-alpine](https://hub.docker.com/r/abhishekkr/dory/)

```
docker run -it -p8080:8080 abhishekkr/dory:0.1-alpine
```

Share your secret with a fish that have short term memory.

When you run `dory`, webserver by default will be available at [:8080](http://localhost:8080) and hosts [help document](http://localhost:8080/help) for quick overview.
Expand Down
17 changes: 17 additions & 0 deletions w3assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM abhishekkr/alpine:dev
MAINTAINER AbhishekKr <[email protected]>

ENV DORY_BASEDIR /opt/dory

RUN mkdir -p $DORY_BASEDIR

COPY ./bin/dory-linux-amd64 $DORY_BASEDIR/dory
COPY ./templates $DORY_BASEDIR/templates
COPY ./w3assets $DORY_BASEDIR/w3assets

EXPOSE 8080

WORKDIR $DORY_BASEDIR

ENTRYPOINT ./dory

0 comments on commit 55b7468

Please sign in to comment.