docker run --rm \
-v $(shell pwd)/web:/data \
markus621/nodejs:14.17.6 \
/bin/sh -c "npm ci --no-delete --cache=/tmp && npm run start";
version: '2.4'
services:
frontend:
image: markus621/nodejs:14.17.6
container_name: frontend
command: /bin/sh -c "npm ci --no-delete --cache=/tmp && npm run start"
healthcheck:
test: [ "CMD", "/healthcheck.sh", "4200"]
interval: 15s
timeout: 30s
retries: 30
volumes:
- ./web:/data
Content type
Image
Digest
Size
125.9 MB
Last updated
over 4 years ago
docker pull markus621/nodejs