@rlyle1179/serverless-aws-batch 1.1.1 → 1.1.2

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
@@ -97,6 +95,7 @@ function buildDockerImage() {
97
95
  RUN node -v
98
96
  RUN rm -rf /tmp/*
99
97
  USER sbx_user1051
98
+ ${additionalRunCommands}
100
99
  `;
101
100
 
102
101
  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.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {