Browse Source

Move Dockerfile.dev to docker directory

pull/1686/head
Hironsan 2 years ago
parent
commit
487897beee
3 changed files with 6 additions and 11 deletions
  1. 13
      .dockerignore
  2. 4
      docker-compose.dev.yml
  3. 0
      docker/Dockerfile.dev

13
.dockerignore

@ -10,18 +10,13 @@
!Pipfile.lock !Pipfile.lock
!Pipfile !Pipfile
backend/**/bundle/
backend/**/node_modules/
backend/**/webpack-stats.json
backend/**/*.sqlite3
backend/**/.env
backend/**/junitxml/
backend/*.sqlite3*
backend/junitxml
backend/media backend/media
backend/filepond-temp-uploads backend/filepond-temp-uploads
backend/stored_uploads backend/stored_uploads
backend/**/staticfiles/
backend/**/venv/
backend/staticfiles
backend/venv
backend/**/__pycache__/ backend/**/__pycache__/
tests/**/__pycache__/ tests/**/__pycache__/

4
docker-compose.dev.yml

@ -4,7 +4,7 @@ services:
backend: backend:
build: build:
context: . context: .
dockerfile: backend/Dockerfile.dev
dockerfile: docker/Dockerfile.dev
image: doccano_backend:dev image: doccano_backend:dev
volumes: volumes:
- .:/src - .:/src
@ -29,7 +29,7 @@ services:
celery: celery:
build: build:
context: . context: .
dockerfile: backend/Dockerfile.dev
dockerfile: docker/Dockerfile.dev
image: doccano_celery:dev image: doccano_celery:dev
volumes: volumes:
- .:/src - .:/src

backend/Dockerfile.dev → docker/Dockerfile.dev

Loading…
Cancel
Save