Open
Description
Dear maintainers,
while trying to get OpenCost running on OpenShift, I had a look at the UI image.
Once thing I noticed is this line:
opencost-ui/docker-entrypoint.sh
Line 4 in 459ddc5
Why is this not part of the image build process? Why is done at runtime (which requires write permissions to /var/www/
which causes problems on e.g. OpenShift?
Or, if I understand this line from the Dockerfile
properly, why is this done again in the entrypoint?
COPY --from=builder /opt/ui/dist /var/www
https://github.com/opencost/opencost-ui/blob/main/Dockerfile#L30
Kind Regards,
Johannes