-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from Triple-Z/dev
Deployment patches
- Loading branch information
Showing
6 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ FROM golang:1.9.7 | |
|
||
MAINTAINER TripleZ "[email protected]" | ||
|
||
WORKDIR $GOPATH/src/a2os/safeu-backend | ||
ADD . $GOPATH/src/a2os/safeu-backend/ | ||
|
||
# COPY conf/db.example.json $GOPATH/src/a2os/safeu-backend/conf/db.json | ||
|
||
# Solution for Chinese special network enviornment | ||
|
@@ -16,6 +13,9 @@ RUN mkdir -p $GOPATH/src/golang.org/x/ && \ | |
# Add dependencies | ||
RUN go get github.com/pilu/fresh | ||
|
||
WORKDIR $GOPATH/src/a2os/safeu-backend | ||
ADD . $GOPATH/src/a2os/safeu-backend/ | ||
|
||
# Build package | ||
RUN go build -o safeu-backend-dev . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters