Docker container with Svelte-Kit
Dockerfile
linksjs-adapter-node
, latest
js-adapter-node-alpine
, latest-alpine
, alpine
js-adapter-node-dev
, latest-dev
, dev
js-adapter-node-dev-alpine
, latest-dev-alpine
, dev-alpine
version: '3.8'
services:
svelte-kit:
container_name: svelte-kit
restart: always
build:
context: ./docker/js/adapter-node
volumes:
- ./docker/js/adapter-node/:/app
- /app/node_modules
ports:
- 3000:3000
version: '3.8'
services:
svelte-kit:
container_name: svelte-kit-dev
dockerfile: Dockerfile.dev
restart: always
build:
context: ./docker/js/adapter-node
volumes:
- ./docker/js/adapter-node/:/app
- /app/node_modules
ports:
- 3000:3000
- 24678:24678
Copyright © 2021 Not Bad