@rlyle1179/serverless-aws-batch 1.1.1 → 1.1.3

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 +1 -2
  2. package/package.json +1 -1
package/lib/docker.js CHANGED
@@ -80,8 +80,6 @@ function buildDockerImage() {
80
80
  const dockerFileContents = `
81
81
  FROM justinram11/lambda:build-nodejs12.x AS builder
82
82
  USER root
83
-
84
- ${additionalRunCommands}
85
83
  RUN mkdir -p /tmp/task/
86
84
  COPY ${this.serverless.service.service}.zip /tmp/task
87
85
  RUN cd /tmp/task && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
@@ -95,6 +93,7 @@ function buildDockerImage() {
95
93
  COPY --from=builder /tmp/node16 /var/lang/
96
94
  ENV NODE_PATH=/var/lang/lib/node_modules:/var/task/node_modules:/var/runtime/node_modules
97
95
  RUN node -v
96
+ ${additionalRunCommands}
98
97
  RUN rm -rf /tmp/*
99
98
  USER sbx_user1051
100
99
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {