Hi, I created a docker file for my application:
FROM julia:1.6
RUN apt-get update && apt-get install -y gcc 
ENV JULIA_PROJECT @. 
WORKDIR /home 
ENV VERSION 1 
ADD . /home 
RUN julia deploy/packagecompile.jl 
EXPOSE 8080 
ENTRYPOINT ["julia", "-JApp.so", "-t", "auto", "-L", "src/App.jl"]
In this application the App.jl is starting server using the following command:
Genie.startup(8080, "localhost", async=true)
Using above parameters, I managed to successfully create the docker image. However when I deploy the image on GCP Kubernetes, I get an error
kubernetes-pod-fails-with-crashloopbackoff 
I researched on this issue and found out that the kubernete container closes after executing the docker image.
Ref: docker - Kubernetes Pod fails with CrashLoopBackOff - Stack Overflow
May I ask, Is there a way where I can keep this server running just using my docker image?
Thanks! Look forward to the suggestions.