Skip to content

Commit

Permalink
Refact docker build file
Browse files Browse the repository at this point in the history
  • Loading branch information
Triple-Z committed Apr 16, 2019
1 parent b110053 commit df57ee1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/package/safeu-backend-dev/Dockerfile-compose
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .

Expand Down

0 comments on commit df57ee1

Please sign in to comment.