Skip to content

Commit

Permalink
Override base (install missing bin)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxy committed May 6, 2024
1 parent 1e9113c commit 3a45cb1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions templates/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM public.ecr.aws/lambda/nodejs:20

RUN dnf install -y gzip tar
1 change: 1 addition & 0 deletions templates/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{pkgName}}/.devcontainer/devcontainer.json
{{pkgName}}/.devcontainer/Dockerfile
{{pkgName}}/.devcontainer/ecosystem.config.js
{{pkgName}}/.gitignore
{{pkgName}}/{{appName}}/.npmignore
Expand Down
2 changes: 1 addition & 1 deletion templates/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "{{appName}}",
"image": "public.ecr.aws/lambda/nodejs:{{nodeVersion}}",
"build": {"dockerfile": "Dockerfile"},
"forwardPorts": [3000],
// Mounting AWS config (Requires container rebuild)
//"mounts": ["source=${localEnv:HOME}/.aws,target=/root/.aws,type=bind,consistency=cached"],
Expand Down

0 comments on commit 3a45cb1

Please sign in to comment.