@rlyle1179/serverless-aws-batch 1.0.68 → 1.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/batchtask.js CHANGED
@@ -124,7 +124,8 @@ function updateContainerProperties(newFunction, functionObject, functionName) {
124
124
  throw new this.serverless.classes.Error(`Could not find handler for batch task ${functionObject.name}`);
125
125
  }
126
126
  newFunction.Properties.ContainerProperties.Command = [
127
- `${this.serverless.service.service}/${functionObject.handler}`,
127
+ `${functionObject.handler}`,
128
+ //`${this.serverless.service.service}/${functionObject.handler}`,
128
129
  //"Ref::event"
129
130
  ]
130
131
  }
package/lib/docker.js CHANGED
@@ -86,7 +86,8 @@ function buildDockerImage() {
86
86
  RUN cd /tmp && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
87
87
 
88
88
  FROM amazon/aws-lambda-nodejs:16
89
- COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
89
+ COPY --from=builder /tmp /var/task/
90
+ RUN ls -la /var/task/
90
91
  RUN rm -rf /tmp/*
91
92
  `;
92
93
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {