coco-annotator icon indicating copy to clipboard operation
coco-annotator copied to clipboard

How to update production build?

Open Shadercloud opened this issue 3 years ago • 1 comments

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.

Shadercloud avatar Jan 16 '22 09:01 Shadercloud

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!

DeodatoBastos avatar Aug 03 '22 01:08 DeodatoBastos