mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
fix: dockerfile entrypoint and cmd
This commit is contained in:
@@ -20,4 +20,6 @@ COPY --from=builder /workspace ./
|
||||
# docker-build plugin runs `yarn pack` in all workspace dependencies and copies them to `packs` folder.
|
||||
COPY packs ./
|
||||
|
||||
CMD yarn workspace @standardnotes/scheduler-server worker
|
||||
ENTRYPOINT [ "packages/scheduler/docker/entrypoint.sh" ]
|
||||
|
||||
CMD [ "start-worker" ]
|
||||
|
||||
@@ -6,7 +6,7 @@ COMMAND=$1 && shift 1
|
||||
case "$COMMAND" in
|
||||
'start-worker' )
|
||||
echo "Starting Worker..."
|
||||
yarn worker
|
||||
yarn workspace @standardnotes/scheduler-server worker
|
||||
;;
|
||||
|
||||
'verify-jobs' )
|
||||
|
||||
Reference in New Issue
Block a user