FIX context.

pull/3/head
kevincaires 4 years ago
parent 01ee513b51
commit 4f5c6f21c8

@ -14,7 +14,8 @@ services:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
neeble: neeble:
build: . build:
context: .
restart: on-failure restart: on-failure
container_name: neeble-bot container_name: neeble-bot
command: make production command: make production

@ -1,20 +1,11 @@
name: neeble name: neeble
# The build section defines how to build the images of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
build: build:
# You can use the following env vars to refer to this image in your deploy commands:
# - OKTETO_BUILD_NEEBLE_REGISTRY: image registry
# - OKTETO_BUILD_NEEBLE_REPOSITORY: image repo
# - OKTETO_BUILD_NEEBLE_IMAGE: image name
# - OKTETO_BUILD_NEEBLE_TAG: image tag
neeble: neeble:
context: neeble context: .
dockerfile: Dockerfile dockerfile: Dockerfile
target: deploy
# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
deploy: deploy:
compose: compose:
file: docker-compose.yml file: docker-compose.yml
@ -22,14 +13,6 @@ deploy:
- mysql - mysql
- neeble - neeble
# The dependencies section defines other git repositories to be deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
# - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
dev: dev:
neeble: neeble:
command: make production command: make production
@ -40,4 +23,3 @@ dev:
- 9000:9000 - 9000:9000
volumes: volumes:
- /root/.cache/pip - /root/.cache/pip

Loading…
Cancel
Save