Skip to content
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

Add Dockerfile #25

Merged
merged 1 commit into from
Jun 29, 2016
Merged

Add Dockerfile #25

merged 1 commit into from
Jun 29, 2016

Conversation

michielbdejong
Copy link
Contributor


COPY . /rust
RUN cd /rust && cargo build
CMD service redis-server start && RUST_LOG=info ./target/debug/registration_server -h 0.0.0.0 -p 4443 --cert-directory /certdir
Copy link
Contributor

@samgiles samgiles Jun 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't really run redis and the server in the same docker container. Instead we should link to the redis server and use environment variables to configure. Will make a follow up issue so we're not blocking on this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also build release, not debug.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First comment: #26

@michielbdejong
Copy link
Contributor Author

Changed it to a release build, will test it on the server before merging.

@michielbdejong
Copy link
Contributor Author

I left it building in a screen on the server, will update the live container to the new image when the build is done, check everything still works, then merge this PR.

@michielbdejong michielbdejong merged commit 8cc7f79 into fxbox:master Jun 29, 2016
@michielbdejong michielbdejong deleted the dockerfile branch June 29, 2016 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants