Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: Apply header-config-path #59

Open
mikaelf opened this issue Jan 3, 2023 · 3 comments
Open

Dockerfile: Apply header-config-path #59

mikaelf opened this issue Jan 3, 2023 · 3 comments

Comments

@mikaelf
Copy link

mikaelf commented Jan 3, 2023

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?

@edymerchk
Copy link

@mikaelf add:

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

@mikaelf
Copy link
Author

mikaelf commented Jan 8, 2023

Thanks, I'll give it a try!

@DevGuilhermeSv
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants