Hi Dan,
It depends which part of the process you’re talking about — if you’re running sls deploy to create the pipeline itself, then you can do this from your PC as long as you’ve configured AWS credentials locally.
See:
- https://github.com/effectivedigital/serverless-deployment-pipeline
If you’re talking about deploying the application from the container, then you need to have installed the serverless framework on the image prior to loading it into your repository. When you are deploying from the container via the process, the commands to run are defined in the buildSpec.yml as part of the package you send to CodePipeline.
See:
- https://github.com/effectivedigital/serverless-deployment-image
- https://github.com/effectivedigital/serverless-deployment-app/blob/master/buildSpec.yml
Hope this helps!
Cheers