-
-
Notifications
You must be signed in to change notification settings - Fork 772
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 #12
Dockerfile #12
Conversation
You could make the resulting image even smaller by using https://github.com/halverneus/static-file-server as the base image. |
@fbartels Dockerfile would be nice and short this way: FROM halverneus/static-file-server
COPY . /web Web server is exposed by default on port 8080. |
Hi, |
Dockerfile
Outdated
|
||
COPY ./ /www/ | ||
|
||
ENV USER abc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Could you please rename the user/group to darkhttpd
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 That would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I can add s6 overlay for runtime uid,gid change , if You want to implement some crud to local config in the future to support proper volume handling.. |
Finally got to test it, looks good 👍 |
@bastienwirtz could you enable the Docker Hub builds? |
Interested in this simple Dockerfile ?
Would be also great to setup official docker hub repository ( https://docs.docker.com/docker-hub/builds/ ).