This commit is contained in:
parent
0d0d1a290f
commit
c7cebefa20
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@ -35,5 +35,4 @@ jobs:
|
||||
push: true
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/386
|
||||
tags: docker.io/${{ secrets.DOCKER_REGISTRY_USER }}/base-node:latest
|
||||
|
@ -21,6 +21,4 @@ RUN pacman -Syu --noconfirm --noprogressbar \
|
||||
&& ln -s "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npm" /usr/bin/npm \
|
||||
&& ln -s "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npx" /usr/bin/npx
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
CMD ["node", "--version"]
|
||||
CMD ["/bin/bash"]
|
||||
|
@ -4,7 +4,7 @@ Una imagen Docker base con **Node.js LTS instalado vía NVM**, ideal para proyec
|
||||
|
||||
## 📦 Características
|
||||
|
||||
- Basado en `ubuntu:22.04`
|
||||
- Basado en `hyperbola:v0.4.4`
|
||||
- Node.js LTS instalado con `nvm`
|
||||
- Incluye `npm` y `npx`
|
||||
- Node.js accesible globalmente (`node`, `npm`, `npx` en `/usr/bin/`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user