Skip to content

Commit

Permalink
chore: add the Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saltbo committed Sep 6, 2020
1 parent 48c62b8 commit c58eac5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM moreu:latest

ENV APP_HOME /zpan
WORKDIR $APP_HOME

RUN curl -sSf https://dl.saltbo.cn/install.sh | sh -s zpan

CMD ["zpan", "server"]
4 changes: 2 additions & 2 deletions deployments/zpan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ email:
password: mGxxxxxxxxxxh9

database:
driver: mysql
dsn: root:admin@tcp(127.0.0.1:3306)/zpan?charset=utf8&parseTime=True&loc=Local
driver: sqlite3
dsn: zpan.db

provider:
name: oss
Expand Down

0 comments on commit c58eac5

Please sign in to comment.