goStatic icon indicating copy to clipboard operation
goStatic copied to clipboard

Dockerfile: Apply header-config-path

Open mikaelf opened this issue 3 years ago • 3 comments

I host a static site on Fly.io using goStatic and I want to use custom headers (by providing the argument -header-config-path string).

This is the Dockerfile:

FROM pierrezemb/gostatic
COPY ./public/ /srv/http/

Where can I specify the argument that goStatic reads on start?

mikaelf avatar Jan 03 '23 10:01 mikaelf

@mikaelf add:

CMD ["-header-config-path",  "string"]

edymerchk avatar Jan 08 '23 22:01 edymerchk

Thanks, I'll give it a try!

mikaelf avatar Jan 08 '23 22:01 mikaelf

I think that more examples need to be added to README file. The currentily description is not clear on how to use tags with docker or inside dockerfile

DevGuilhermeSv avatar May 11 '23 20:05 DevGuilhermeSv