fix: api dockerfile for prod

This commit is contained in:
Mohamed Marrouchi
2024-09-29 11:49:05 +01:00
parent a71bef2161
commit e84090b6bf
7 changed files with 36 additions and 74 deletions

View File

@@ -1,15 +1,6 @@
version: "3.8"
services:
database-init:
build:
context: ../api
pull_policy: build
volumes:
- ../api/src:/app/src
- ../api/migrations:/app/migrations
# - ../api/node_modules:/app/node_modules
api:
build:
context: ../api