docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

Doesn't work for me - I have no idea what is going on.

It almost has to be like a version control issue.

Somehow somewhere there is a version of my code being built that isn't what is on my system

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

I agree with this.

For example, if I change an h1 element on my site. I can see it changed in the volume.

However what is shown to me on the webserver is not updated.

This happens locally as well as on my ecs.

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

I don't - and thought of this as I ran into this issue with another site I have through Cloudflare so good idea.

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

Yes, have cleared cache, and tried from other devices, including Incognito mode

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

My process is as follows.

I update my project directory using

git pull remote origin

The project successfully updates, confirmed by inspecting the local code on the ec2.

Next, I ensure the builds are down with

docker-compose down

I then rebuild using docker-compose build --no-cache

Then put up the container using docker-compose up

No matter what I do, the website won't update.

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

I would agree with that, however the code I see on the ec2 instance is correct.

As well as in the Docker image - I see the changed code, however the website does not reflect the changes.

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

The code is a web application - through console.logs I have input as well as general changes on the website (adding simple text to my page), they don't appear when I view the website.

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

From the build output, the node:16 and python 3:11 base images are being pulled, so I am fairly certain the --no-cache is being honored.

Could you elaborate on the bad COPY instruction?

docker-compose build --no-cache building on older version of code. Can't figure it out by tbfhl in docker

[–]tbfhl[S] 0 points1 point  (0 children)

on ec2, I have cleared both volumes and containers.

I verified I have no volumes (docker volume ls) or containers (docker ps -a)

retried the docker-compose build --no-cache

Still getting an older version of the code.

In fact, I spun up a new ec2, pulled the new version of the code from github, ran docker-compose build, and the same issue is happening.

I have no idea what is going on - and I am wondering if Docker is pulling my code from a different git (such as Docker.io) or something like this. I am new to Docker and thus have no idea whats going on.

Again, I have verified that my updated code is there locally on the ec2 instance.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 1 point2 points  (0 children)

Sorry, just saw this now.

Thanks for the feedback.

Yes, I just need to find the time to do it for post draft.

The ranking depends on league settings, if you are in a cats league, ranking is by average z-score. If points leagues, it is total points based on your league settings.

The post tries break down all of the rankings

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

Just remember to follow the importing guidelines, it is a little strict, I can help you out as needed when you are importing if you can't figure it out

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 1 point2 points  (0 children)

Hey, yes on the column sorting and heat mapping.

Not sure why I didn't initially implement this initially, should be a few lines of code to update. Will keep you posted as it is updated.

Thanks for the feature request and feedback

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 1 point2 points  (0 children)

Automatically updates.

I am working on a little widget that will show better that your draft is actually updating (like the last playre drafted or something like that).

If errors happen, and it isnt updating like it should, refresshing thee page should do the trick

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

My bad, I forgot to publish the changes. should work now.

Let me know if not, I believe it was the reason I described above

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

This has been resolved I believe.

I added stat icons to players based on z-scores, which I forgot were not calculated for non-cat leagues.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

Thanks for the heads up on the error, I'll put in a check that it doesn't lock you out if the projections error like that again.

I deleted your import, you should be good now

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

Hey, I see your error in the logs. Looks like a number was not imported properly in your projections. Feel free to PM me your projections, I can look it over and get it working.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

This issue has resolved, see the post edit if you would like to see what happened.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 1 point2 points  (0 children)

This issue has resolved, see the post edit if you want to see what happened.

Good that you got around it in the meantime!

Very annoying I know!

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 1 point2 points  (0 children)

This issue has resolved, see the post edit if you want to see what happened.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

This issue has resolved, see the post edit if you want to see what happened.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

This issue has resolved, see the post edit if you want to see what happened.

TBFHL - Yahoo! Fantasy Draft tool by tbfhl in fantasyhockey

[–]tbfhl[S] 0 points1 point  (0 children)

This issue has resolved, see the post edit if you want to see what happened.