Skip to content

Conversation

dpkirchner
Copy link
Contributor

These commits update the docker configs to make it easier to work on the code locally. The main change that users will care about is the reordering of the dockerfile rules, reducing how much time it takes to test code updates that don't involve changing dependencies. The rest is just a little quality-of-life gravy.

I know there's a v2 coming, however I saw there's no dockerfile (yet). I figure you might be able to adapt this for v2 when alltalkbeta is merged to main.

This makes it easier to test local changes. Usage is basically:

$ docker build -t whatever:latest .
$ IMAGE=whatever:latest docker compose up -d
@erew123
Copy link
Owner

erew123 commented Jun 14, 2024

Hi @dpkirchner

Im spending most my days apologising to people at the moment for slow replies. Im very bogged down with lots of things between code and emails etc. So not to break that, apologies for my late reply!

Im guessing the code youve sent over youve tested and it works fine? (sorry to ask a dumb question). Im just not in a great position to test it out, but if you say it works, then Im happy to just import it in!

And yes, v2, Ive not got around to Docker yet, but it should be a bit easier to work with. Im not sure it would need the separate launch.sh script that v1 needs and the requirements I think will be simpler.

Im not quite a docker expert to be honest, so your help is very appreciated :)

@dpkirchner
Copy link
Contributor Author

The changes are working well for me. The main difference is just moving where the source is copied so it happens after all of the dependencies are installed (which can take a while). I haven't tested them with v2 beta yet, however.

@erew123
Copy link
Owner

erew123 commented Jun 19, 2024

Thanks for the work/help on this. I think v2 should be cleaner with Docker (no need to run a separate launch.sh script is my guess) but Ive not gotten there yet to test.

Ill pull the PR in.

Thanks again

@erew123 erew123 merged commit 80eb4e5 into erew123:main Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants