@rlyle1179/serverless-aws-batch 1.0.57 → 1.0.59

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 +4 -3
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -88,9 +88,10 @@ function buildDockerImage() {
88
88
  FROM justinram11/lambda:nodejs12.x
89
89
  COPY --from=builder /tmp /var/task/${this.serverless.service.service}/
90
90
  RUN rm -rf /tmp/*
91
- RUN yum install -y curl
92
- RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
93
- RUN node -v
91
+ RUN /bin/sh -c yum install -y curl
92
+ RUN /bin/sh -c curl -sL https://rpm.nodesource.com/setup_16.x | bash -
93
+ ENV NODE_PATH=/opt/nodejs/node16/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules
94
+ RUN /bin/sh -c node -v
94
95
  WORKDIR /var/task/${this.serverless.service.service}/
95
96
  `;
96
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {