Skip to content

Commit 13e0169

Browse files
committed
Node 14. SLS 3.4
1 parent 954286d commit 13e0169

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,4 +1,4 @@
1-
FROM node:12-alpine
1+
FROM node:14-alpine
22

33
RUN apk add --no-cache \
44
python \
@@ -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@2.8.0
16+
&& npm install -g serverless@3.4.0
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:12-alpine ([AWS Lambda uses Node v12.x](http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html)) and has the AWS CLI, Serverless v2.8.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.4.0 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)