-
Notifications
You must be signed in to change notification settings - Fork 19
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 #188 from ava-labs/update-release-dockerfile
Update release Dockerfile
- Loading branch information
Showing
4 changed files
with
5 additions
and
20 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
### Build Stage ### | ||
ARG GO_VERSION | ||
FROM golang:${GO_VERSION}-bullseye as build | ||
|
||
WORKDIR /go/src | ||
# Copy the code into the container | ||
COPY . . | ||
RUN go mod tidy | ||
# Build awm-relayer | ||
RUN bash ./scripts/build.sh | ||
|
||
### RUN Stage ### | ||
ARG GO_VERSION | ||
FROM golang:${GO_VERSION} | ||
COPY --from=build /go/src/build/awm-relayer /usr/bin/awm-relayer | ||
COPY awm-relayer /usr/bin/awm-relayer | ||
EXPOSE 8080 | ||
USER 1001 | ||
CMD ["start"] | ||
ENTRYPOINT ["/usr/bin/awm-relayer"] | ||
ENTRYPOINT [ "/usr/bin/awm-relayer" ] |
This file was deleted.
Oops, something went wrong.