-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to integrate with Docker (Dockerize) ? #121
Comments
Hello and thanks for asking Are you thinking of a particular entry point integration or something generic would suit? |
I thought about a generic Dockerized implementation FROM go:latest as builder
ADD .
RUN go build -o /tmp/golang-crypto-trading-bot
FROM scratch
ADD config.yaml ./config.yaml
COPY --from=builder /tmp/golang-crypto-trading-bot ./golang-crypto-trading-bot
CMD ["golang-crypto-trading-bot"] that should do it (I did not test it) @kozld |
After careful thinking about this, the manual Dockerfile is a better solution for anyone implementing any bot based on this framework, ergo I would keep any Docker version out of this repo. If anybody needs to dockerize a project, can use the Dockerfile I provided in the other comment. |
I think that it can maybe helpfully. What do you think?
The text was updated successfully, but these errors were encountered: