Skip to content

Commit 508aed6

Browse files
committed
node:18-alpine. SLS 3.33.0.
1 parent a374a86 commit 508aed6

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:14-alpine
1+
FROM node:18-alpine
22

33
RUN apk add --no-cache \
44
python3 \
@@ -12,6 +12,6 @@ RUN apk add --no-cache \
1212

1313
ENV NODE_ENV development
1414

15-
RUN npm install -g serverless@3.7.4
15+
RUN npm install -g serverless@3.33.0
1616

1717
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.7.4 and Yarn installed.
11+
This image is based on node:18-alpine ([AWS Lambda uses Node v18.x](http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html)) and has the AWS CLI, Serverless v3.33.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)