[BE-setup] Add ci build file
This commit is contained in:
2
backend-api/.env.ci
Normal file
2
backend-api/.env.ci
Normal file
@@ -0,0 +1,2 @@
|
||||
DOCKER_LOCAL_VOLUME=./
|
||||
DOCKER_LOCAL_AWS=/home/vanilla/.aws
|
||||
13
backend-api/docker-compose-build-dev.yml
Normal file
13
backend-api/docker-compose-build-dev.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '3.5'
|
||||
|
||||
services:
|
||||
serverless-api-dev-build:
|
||||
image: vanillabrain/serverless-docker:1.0
|
||||
restart: on-failure
|
||||
working_dir: /app
|
||||
command: bash -c "npm install && npm run deploy:dev"
|
||||
volumes:
|
||||
- ${DOCKER_LOCAL_VOLUME}:/app
|
||||
- ${DOCKER_LOCAL_AWS}:/root/.aws
|
||||
environment:
|
||||
TZ: Asia/Seoul
|
||||
Reference in New Issue
Block a user