Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
run separate build for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwen committed May 4, 2017
1 parent 48ecc3c commit f1f283d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ script:
- go generate ./web ./...
- ./travis/coverage.sh
- gox -os "linux darwin windows" -arch "amd64" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build # for docker

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
Expand All @@ -31,7 +32,6 @@ install:

after_success:
- bash <(curl -s https://codecov.io/bash)
- cp dist/selenoid-ui_linux_amd64 ./selenoid-ui

deploy:
- provider: releases
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu
FROM scratch
MAINTAINER Kirill Merkushev <[email protected]>

COPY selenoid-ui /

EXPOSE 8080
CMD ["/selenoid-ui"]
ENTRYPOINT ["/selenoid-ui"]

0 comments on commit f1f283d

Please sign in to comment.