Skip to content

Commit

Permalink
964 docker - server - remove - no need for it
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbeslic committed Sep 30, 2024
1 parent afd30ba commit e591420
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions server/apps/server-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# docker/dockerfile:1
FROM ghcr.io/graalvm/graalvm-community:21.0.2 AS bytechef-base
FROM ghcr.io/graalvm/graalvm-community:21.0.2 AS bytechef-server-base

ARG ARG_APPLICATION_HOME=/opt/bytechef

ENV ENV_JVM_MEMORY_OPTS="-Xms1G -Xmx2G"

RUN mkdir ${ARG_APPLICATION_HOME}
RUN mkdir ${ARG_APPLICATION_HOME}/server
RUN mkdir ${ARG_APPLICATION_HOME}/server/tmp
Expand All @@ -19,7 +17,7 @@ ENTRYPOINT exec \
-Dfile.encoding=UTF-8 -Duser.timezone=GMT \
-Djava.io.tmpdir=/opt/bytechef/server/tmp \
-Dserver.tomcat.basedir=/opt/bytechef/server \
-Dserver.tomcat.accesslog.directory=/opt/bytechef/server/logs${ENV_JVM_MEMORY_OPTS:+ $ENV_JVM_MEMORY_OPTS} \
-Dserver.tomcat.accesslog.directory=/opt/bytechef/server/logs \
-jar server/server-app.jar

FROM bytechef-base AS bytechef-server
FROM bytechef-server-base AS bytechef-server

0 comments on commit e591420

Please sign in to comment.