CodeSamples icon indicating copy to clipboard operation
CodeSamples copied to clipboard

Dockerfile multiple CMD directives

Open i4o opened this issue 3 years ago • 0 comments

Please remove duplicate CMD directives from Python/AppDev/Dockerfile

CMD ["ufw allow 5000"] .. this is just ignored, only last CMD is executed.

Why would you try to execute ufw inside a container? It's not available.

BTW directive MAINTAINER is depreciated.

i4o avatar Oct 04 '22 17:10 i4o