Thanks for that article, really interesting. I have just one question: If I use docker compose with custom Images (build: tag) will this still work? If yes, will the Image be built on the local machiene and then somehow uploaded to the server or do I also have to have the sourcecode on the server as well?
I haven't tried this so far, but I made a quick test. The image is build remotely. If you have f.e. a COPY command in your Dockerfile, Docker will copy these files from your local environment to the remote server. So you don't have to manually upload/sync it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for that article, really interesting. I have just one question: If I use docker compose with custom Images (build: tag) will this still work? If yes, will the Image be built on the local machiene and then somehow uploaded to the server or do I also have to have the sourcecode on the server as well?
I haven't tried this so far, but I made a quick test. The image is build remotely. If you have f.e. a COPY command in your Dockerfile, Docker will copy these files from your local environment to the remote server. So you don't have to manually upload/sync it.