@rlyle1179/serverless-aws-batch 1.0.62 → 1.0.64

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.
Files changed (2) hide show
  1. package/lib/docker.js +2 -3
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -85,14 +85,13 @@ function buildDockerImage() {
85
85
  COPY ${this.serverless.service.service}.zip /tmp
86
86
  RUN cd /tmp && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
87
87
 
88
- FROM justinram11/lambda:nodejs12.x
88
+ FROM amazon/aws-lambda-nodejs:16
89
89
  COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
90
90
  RUN rm -rf /tmp/*
91
- RUN /usr/bin/yum install -y curl
92
- RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
93
91
  ENV NODE_PATH=/opt/nodejs/node16/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules
94
92
  RUN node -v
95
93
  WORKDIR /var/task/${this.serverless.service.service}/
94
+ CMD [ "app.handler" ]
96
95
  `;
97
96
 
98
97
  const servicePath = this.serverless.config.servicePath || '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.62",
3
+ "version": "1.0.64",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {