mdhom / e3dc-to-mqtt

Publishes E3DC data to an mqtt broker
Apache License 2.0
6 stars 2 forks source link

Optimized Dockerfile #5

Closed Dirnei closed 2 years ago

Dirnei commented 2 years ago

The order of the commands in a docker are important. e.g. when you edit code, all command in the docker file, after the copy command from the file you have edited, are executed again.

I moved all the copy commands to the bottom, so that you only have to run the copy and the setup.py again.