mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
Prepare for Docker publishing (#1771)
* prepare for docker publishing * fix links * remove that * update README * test publish worklofw * build and push on master * include gtag by default
This commit is contained in:
@ -1,9 +1,27 @@
|
||||
version: "3"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
excalidraw:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- NODE_ENV=development
|
||||
target: deps
|
||||
container_name: excalidraw
|
||||
ports:
|
||||
- "5000:80"
|
||||
- "3000:3000"
|
||||
restart: on-failure
|
||||
command: npm run start
|
||||
stdin_open: true
|
||||
healthcheck:
|
||||
disable: true
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
volumes:
|
||||
- ./:/opt/node_app/app:delegated
|
||||
- ./package.json:/opt/node_app/package.json
|
||||
- ./package-lock.lock:/opt/node_app/package-lock.lock
|
||||
- notused:/opt/node_app/app/node_modules
|
||||
|
||||
volumes:
|
||||
notused:
|
||||
|
Reference in New Issue
Block a user