Skip to content

Commit 3faa672

Browse files
committed
Severless 3.7.4. Fix build.
1 parent 13e0169 commit 3faa672

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:14-alpine
22

33
RUN apk add --no-cache \
4-
python \
4+
python3 \
55
py-pip \
66
py-setuptools \
77
ca-certificates \
@@ -13,6 +13,6 @@ RUN apk add --no-cache \
1313
ENV NODE_ENV development
1414

1515
RUN npm install -g npm@latest \
16-
&& npm install -g serverless@3.4.0
16+
&& npm install -g serverless@3.7.4
1717

1818
ENTRYPOINT ["/bin/bash", "-c"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ See [serverless-node-dynamodb-api](https://github.com/jch254/serverless-node-dyn
88

99
---
1010

11-
This image is based on node:14-alpine ([AWS Lambda uses Node v14.x](http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html)) and has the AWS CLI, Serverless v3.4.0 and Yarn installed.
11+
This image is based on node:14-alpine ([AWS Lambda uses Node v14.x](http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html)) and has the AWS CLI, Serverless v3.7.4 and Yarn installed.
1212

1313
To deploy a Serverless service to AWS you will need to create an IAM user with the required permissions and set credentials. I'm setting credentials using [Bitbucket Pipelines environment variables](https://confluence.atlassian.com/bitbucket/environment-variables-in-bitbucket-pipelines-794502608.html); however setting credentials in Dockerfile is also possible.

0 commit comments

Comments
 (0)