* begin work on dev environment * more work on dev image * working dev + prod images with SPA front-end * reworked dockerfile * make CI point to the right action * Improvements to github actions (#79) * Improvements to github actions * Change username to repo owner username * Add fix for login into ghcr (#81) * Update bug_report.yml * added dev instructions to readme * reduced number of steps in dockerfile --------- Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
20 lines
375 B
YAML
20 lines
375 B
YAML
version: "3.9"
|
|
services:
|
|
serge:
|
|
restart: on-failure
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: dev
|
|
volumes:
|
|
- ./web:/usr/src/app/web/
|
|
- ./api:/usr/src/app/api/
|
|
- datadb:/data/db
|
|
- weights:/usr/src/app/weights/
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "8008:8008"
|
|
|
|
volumes:
|
|
datadb:
|
|
weights: |