-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Conversation
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. |
There was a problem hiding this 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.
images/julia/Dockerfile
Outdated
RUN julia /app/deps.jl | ||
|
||
CMD julia /app/app.jl | ||
EXPOSE 8080 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
images/julia/app.jl
Outdated
end | ||
end | ||
|
||
run(srv, 8080) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer 3000.
update from main repo
@metrue I changed the port in the Docker and app.jl to 3000 |
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.