riscv-docker/node/apko.yaml
Elara Musayelyan f2b4e9902a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add npm to the node image and upgrade to nodejs-current
2023-08-16 12:03:01 -07:00

43 lines
660 B
YAML

contents:
repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/main
- https://dl-cdn.alpinelinux.org/alpine/edge/community
packages:
- busybox
- nghttp2
- nodejs-current
- npm
accounts:
groups:
- groupname: node
gid: 65532
users:
- username: node
uid: 65532
gid: 65532
run-as: 65532
paths:
- path: /app
type: directory
permissions: 0o777
uid: 65532
gid: 65532
work-dir: /app
environment:
NODE_PORT: 3000
PATH: '/usr/sbin:/sbin:/usr/bin:/bin'
NPM_CONFIG_UPDATE_NOTIFIER: false
entrypoint:
command: /usr/bin/node
cmd: --help
archs:
- amd64
- arm64
- riscv64