ARG BASE FROM ${BASE} ENV IN_DOCKER=1 ARG APPSMITH_CLOUD_SERVICES_BASE_URL ENV APPSMITH_CLOUD_SERVICES_BASE_URL=${APPSMITH_CLOUD_SERVICES_BASE_URL} ARG APPSMITH_SEGMENT_CE_KEY ENV APPSMITH_SEGMENT_CE_KEY=${APPSMITH_SEGMENT_CE_KEY} COPY deploy/docker/fs / RUN <&2 exit 1 fi if ! [ -f server/mongo/server.jar && -f server/pg/server.jar ]; then echo "Missing one or both server.jar files in the right place. Are you using the build script?" >&2 exit 1 fi mkdir -p ./editor ./rts # Ensure all *.sh scripts are executable. find . -name node_modules -prune -or -type f -name '*.sh' -print -exec chmod +x '{}' ';' # Ensure all custom command-scripts have executable permission chmod +x /opt/bin/* END # Add client UI - Application Layer COPY ./app/client/build editor/ # Add RTS - Application Layer COPY ./app/client/packages/rts/dist rts/ ENV PATH /opt/bin:/opt/appsmith/utils/node_modules/.bin:/opt/java/bin:/opt/node/bin:$PATH RUN <