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 Julia support #54

Merged
merged 5 commits into from
Nov 22, 2017
Merged

add Julia support #54

merged 5 commits into from
Nov 22, 2017

Conversation

matbesancon
Copy link
Contributor

Just as #31 this is a first draft to add Julia support. The core fx package was not yet modified.
An example function was added in example, using a typed interface with an Input struct.
images/julia contains an app.jl using a minimalist HTTP server, the function file and the docker image.

@matbesancon matbesancon mentioned this pull request Nov 19, 2017
@metrue
Copy link
Owner

metrue commented Nov 20, 2017

I will test it out soon, I will merge it soon if everything works as expected.

Thank you so much, this is a great PR.

Copy link
Owner

@metrue metrue left a comment

Choose a reason for hiding this comment

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

@mbesancon everyting works great during my test on the PR.

Please check the comments I wrote, I merge it to master as you finished it.

RUN julia /app/deps.jl

CMD julia /app/app.jl
EXPOSE 8080
Copy link
Owner

Choose a reason for hiding this comment

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

@mbesancon can you expose 3000 instead 8080, let's keep same port like the other Dockerfile of fx/images

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I'll change that tomorrow

end
end

run(srv, 8080)
Copy link
Owner

Choose a reason for hiding this comment

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

prefer 3000.

@matbesancon
Copy link
Contributor Author

@metrue I changed the port in the Docker and app.jl to 3000

@metrue metrue merged commit 376b884 into metrue:master Nov 22, 2017
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