-
Notifications
You must be signed in to change notification settings - Fork 48
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 #175 from wolfcito/feat/dockerize-supersim-setup
feat: Dockerfile has been added along with the required documentation
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM golang:1.22 | ||
|
||
RUN apt-get update && apt-get install -y curl git | ||
|
||
WORKDIR /app | ||
|
||
RUN curl -L https://foundry.paradigm.xyz | bash | ||
|
||
ENV PATH="/root/.foundry/bin:${PATH}" | ||
|
||
RUN foundryup | ||
|
||
COPY . . | ||
|
||
RUN go mod tidy | ||
|
||
RUN go build -o supersim cmd/main.go | ||
|
||
CMD ["./supersim"] |
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