chore: use raw running in docker image
All checks were successful
Build / build (pull_request) Successful in 1m15s
All checks were successful
Build / build (pull_request) Successful in 1m15s
We can rely on having up-to-date Node.js here, and reducing the size by like ~55 MiB seems decent.
This commit is contained in:
parent
0bf142ed50
commit
71d2ea7048
@ -5,8 +5,7 @@ RUN apk add --no-cache bash jq
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm i --omit=dev
|
RUN npm i --omit=dev --omit=optional
|
||||||
RUN npm run build
|
|
||||||
RUN date '+%d %B %Y' > BUILD_DATE
|
RUN date '+%d %B %Y' > BUILD_DATE
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
|
|||||||
@ -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
|
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config-vanilla.json > /app/conf/config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec npm run start -- --configPath conf/config.json
|
exec npm run raw -- --configPath conf/config.json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user