Skip to content

Commit 677f9ae

Browse files
committed
Removed unused docker files, updated README.md
1 parent 9b0950f commit 677f9ae

File tree

3 files changed

+6
-26
lines changed

3 files changed

+6
-26
lines changed

.dockerignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# AWS Sharp layer
2-
This AWS lambda layer contains a pre-built [sharp](https://www.npmjs.com/package/sharp) npm library, so that you could "just use" it in your lambda code:
2+
This AWS lambda layer contains a latest pre-built vanilla [sharp](https://www.npmjs.com/package/sharp) npm library, so that you could "just use" it in your lambda code:
33

44
```javascript
55
import sharp from 'sharp'
66
// ...
77
```
88

9-
It holds only necessary files to minimize its weight (16Mb).
10-
It also supports all currently supported AWS lambda node runtimes (>=`nodejs14.x`) and architectures (`x86_64` and `arm64`).
9+
It contains only necessary files to minimize its weight (16Mb).
10+
It also supports all current AWS lambda node runtimes (>=`nodejs14.x`) and architectures (`x86_64` and `arm64`).
1111

1212
# Getting
1313
A pre-built layer zip file is available on the [Releases page](../../releases).
@@ -24,9 +24,10 @@ aws lambda publish-layer-version \
2424
```
2525

2626
# Building
27-
Install dependencies (this will wipe your existing `node_modules/` directory):
27+
Simply run (this will wipe your existing `node_modules/` directory):
2828
```shell
2929
npm ci --arch=x64 --platform=linux
3030
```
3131

32-
Build will be performed automatically upon deps installation.
32+
Build will be performed automatically upon deps installation.
33+
The resulted lambda layer zip file will be saved to `dist/` directory.

0 commit comments

Comments
 (0)