@rlyle1179/serverless-aws-batch 1.0.59 → 1.0.60
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 +4 -3
- package/package.json +1 -1
package/lib/docker.js
CHANGED
|
@@ -88,10 +88,11 @@ 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
|
|
92
|
-
RUN
|
|
91
|
+
RUN rpm -q yum
|
|
92
|
+
RUN yum install -y curl
|
|
93
|
+
RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -
|
|
93
94
|
ENV NODE_PATH=/opt/nodejs/node16/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules
|
|
94
|
-
RUN
|
|
95
|
+
RUN node -v
|
|
95
96
|
WORKDIR /var/task/${this.serverless.service.service}/
|
|
96
97
|
`;
|
|
97
98
|
|