mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
5b8fe3aeb5
Improves the Docker experience by leveraging Data volumes, dropping root permissions, using a more lightweight and secure base image (node:alpine), and moving unwieldy run arguments into a docker-compose file. The net result is you can now issue a single command `docker-compose up --build` to have a fully-functional verdaccio instance running.
12 lines
193 B
YAML
12 lines
193 B
YAML
version: '2'
|
|
services:
|
|
verdaccio:
|
|
build: .
|
|
container_name: verdaccio
|
|
ports:
|
|
- "4873:4873"
|
|
volumes:
|
|
- verdaccio:/verdaccio
|
|
volumes:
|
|
verdaccio:
|
|
driver: local
|