Threagile / threagile

Agile Threat Modeling Toolkit
https://threagile.io
MIT License
577 stars 126 forks source link

docker: fix copy server/static files #47

Closed duhow closed 8 months ago

duhow commented 8 months ago

Fixes #37 .

Attempting to copy /app/server does not create server folder, but instead it copies its content (static).

In order to keep same simple copy instruction, copy as many files into a previous stage (with required owner), then finally copy everything over final image.

cschneider4711 commented 8 months ago

Thx. :) noticed the same in parallel and adjusted the Dockerfile already (build is in progress)

cschneider4711 commented 8 months ago

... will then use the version that is smaller (probably the one with just one COPY command)