@rlyle1179/serverless-aws-batch 1.1.4 → 1.1.5
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/docker.js +1 -7
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -96,17 +96,11 @@ function buildDockerImage() {
|
|
|
96
96
|
RUN mkdir -p /tmp/task/
|
|
97
97
|
COPY ${this.serverless.service.service}.zip /tmp/task
|
|
98
98
|
RUN cd /tmp/task && unzip -q ${this.serverless.service.service}.zip && rm ${this.serverless.service.service}.zip
|
|
99
|
-
RUN mkdir -p /tmp/node16/
|
|
100
|
-
RUN curl -sL https://develop.apricity-health.com/assets/node-v16.20.0-linux-x64.tar.gz --output /tmp/node.tar.gz
|
|
101
|
-
RUN cd /tmp && tar xf node.tar.gz && cp -rf node-v16.20.0-linux-x64/* /tmp/node16/
|
|
102
99
|
${addtionalBuildCommands}
|
|
103
|
-
|
|
100
|
+
|
|
104
101
|
FROM justinram11/lambda:nodejs12.x
|
|
105
102
|
USER root
|
|
106
103
|
COPY --from=builder /tmp/task /var/task/
|
|
107
|
-
COPY --from=builder /tmp/node16 /var/lang/
|
|
108
|
-
ENV NODE_PATH=/var/lang/lib/node_modules:/var/task/node_modules:/var/runtime/node_modules
|
|
109
|
-
RUN node -v
|
|
110
104
|
${additionalCommands}
|
|
111
105
|
RUN rm -rf /tmp/*
|
|
112
106
|
USER sbx_user1051
|