Skip to content

Commit

Permalink
Follow conventional go file org patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Jan 19, 2018
1 parent 6db842e commit 0483899
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.8.1
WORKDIR /go/src/github.com/placer14/ob-crawler
RUN go get gopkg.in/jarcoal/httpmock.v1
COPY ./src .
COPY . .
RUN go test ./... && \
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o /opt/ob-crawler .

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ WORKDIR /go/src/$APP_PATH

RUN go get gopkg.in/jarcoal/httpmock.v1

COPY ./src .
COPY . .

ENTRYPOINT ["/bin/bash"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
dockerfile: ./Dockerfile.dev
volumes:
- obdata:/var/lib/openbazaar
- ./src:/go/src/github.com/placer14/ob-crawler
- .:/go/src/github.com/placer14/ob-crawler
- ./config:/root/config
#depends_on:
#- api
Expand Down
File renamed without changes.

0 comments on commit 0483899

Please sign in to comment.