forked from okx/xlayer-node
-
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.
refactoring docker-compose (0xPolygonHermez#1228)
- Loading branch information
Showing
46 changed files
with
946 additions
and
614 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
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,8 +1,6 @@ | ||
# CONTAINER FOR BUILDING BINARY | ||
FROM golang:1.17 AS build | ||
|
||
ENV CGO_ENABLED=0 | ||
|
||
# INSTALL DEPENDENCIES | ||
RUN go install github.com/gobuffalo/packr/v2/[email protected] | ||
COPY go.mod go.sum /src/ | ||
|
@@ -16,6 +14,6 @@ RUN cd /src && make build | |
# CONTAINER FOR RUNNING BINARY | ||
FROM alpine:3.16.0 | ||
COPY --from=build /src/dist/zkevm-node /app/zkevm-node | ||
COPY --from=build /src/config/config.local.toml /app/config.local.toml | ||
COPY --from=build /src/config/environments/local/local.node.config.toml /app/example.config.toml | ||
EXPOSE 8123 | ||
CMD ["/bin/sh", "-c", "/app/zkevm-node run"] |
Oops, something went wrong.