Github Action Step issue

I am getting sls command not found while
I am trying to add a step in my Github Action Pipeline , Below is my defination

  - uses: docker://softinstigate/serverless:2.19.0
    with:
      pull: true
    env:
      AWS_ACCESS_KEY_ID: xxxxxxx
      AWS_SECRET_ACCESS_KEY: xxxxxxxxx
  - name: Install dependencies
    run: |
      npm i serverless-step-functions
      npm i serverless-iam-roles-per-function
      npm i serverless-pseudo-parameters
  - name: Deploy Services
    env:
      STAGE: dev
    run: |
      sls --version

Please let me know if I am doing anything wrong