mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04: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:
parent
046c0818c5
commit
f1ceeab8d9
6 changed files with 63 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue