Hello! I started to use Ktor for server applicati...
# ktor
в
Hello! I started to use Ktor for server applications. I want to launch my application inside Docker. I created Dockerfile and filled it by this documentation. But when I execute command
docker build -t finance-tracker .
my build FREEZING on this line:
RUN gradle buildFatJar --no-daemon
If I execute
gradle buildFatJar --no-daemon
in local terminal, application successfully build. What do I need to do to fix it?
b
You are running gradle inside the container so it is downloading all dependencies to build everything. Could take a little longer than you’ld except. Are you sure it freezes?
a
The freezing may be caused by insufficient memory.
👍 1