Fix docker build

Currently these commands should be run in a single sbt session, since
the first one sets the elm compilation mode to "prod". Makes the js a
bit smaller removing debug infos.
This commit is contained in:
Eike Kettner 2021-01-07 00:39:36 +01:00
parent b28cf74a72
commit f7ffa10b07

View File

@ -28,9 +28,7 @@ COPY . /src/docspell/
#RUN SBT_OPTS="-Xms1024M -Xmx8G -Xss2M -XX:MaxMetaspaceSize=8G" && \
WORKDIR /src/docspell
RUN sbt -mem 4096 make
RUN sbt -mem 4096 make-zip
RUN sbt -mem 4096 make-tools
RUN sbt -mem 4096 make make-zip make-tools
#RUN SBT_OPTS= && \
RUN mkdir -p /opt