Skip to content

Commit d428d22

Browse files
committed
Update Dockerfile to the multi-module project structure
1 parent fe5e6db commit d428d22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Running this container will start a language server that listens for TCP connections on port 2088
22
# Every connection will be run in a forked child process
33

4-
# Please note that before building the image, you have to build the language server with `./gradlew build`
4+
# Please note that before building the image, you have to build the language server with `./gradlew :server:installDist`
55

66
FROM openjdk:10
77

8-
COPY ./build/install ./
8+
WORKDIR /
9+
COPY server/build/install/server .
910

1011
EXPOSE 2088
1112

12-
CMD ["./kotlin-language-server/bin/kotlin-language-server", "--tcp-server=0:2088"]
13+
CMD ["/server/bin/kotlin-language-server", "--tcpPort=2088"]

0 commit comments

Comments
 (0)