chore: use raw running in docker image #2711

Merged
Sainan merged 1 commits from docker-raw into main 2025-08-28 05:50:07 -07:00
2 changed files with 2 additions and 3 deletions

View File

@ -5,8 +5,7 @@ RUN apk add --no-cache bash jq
COPY . /app
WORKDIR /app
RUN npm i --omit=dev
RUN npm run build
RUN npm i --omit=dev --omit=optional
RUN date '+%d %B %Y' > BUILD_DATE
ENTRYPOINT ["/app/docker-entrypoint.sh"]

View File

@ -5,4 +5,4 @@ if [ ! -f conf/config.json ]; then
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config-vanilla.json > /app/conf/config.json
fi
exec npm run start -- --configPath conf/config.json
exec npm run raw -- --configPath conf/config.json