coco-annotator
coco-annotator copied to clipboard
How to update production build?
How can I update the my production build with code updates?
For example if I edit some Vue view files these changes are reflected if I run:
docker-compose -f docker-compose.build.yml up --build
But if I run in production mode the changes are not reflected:
docker-compose up --build
Running in dev or build mode seems to be insecure as it leaves additional ports open.
I have the same problem. Actually, I can update after assign the name/tag of images, I'm not sure if this is correct, tough. I'm trying to develop a new feature useful for a project which I'm involved.
docker build -t jsbroks/coco-annotator:webserver-stable -t jsbroks/coco-annotator:workers-stable . --no-cache --pull
In doing so, I was updating the images used in docke-composer.yml file.
I'm not sure, because after a while when I rebuild the images the change I made are gone.
Can someone help us with that? That will be really helpful to new contributions. Thanks!