tweaked dockerfile.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
FROM alpine:3.8
|
||||
ARG user=eephttpd
|
||||
ARG path=example/path
|
||||
ENV samhost=sam-host
|
||||
ENV samport=7656
|
||||
ENV args="-r"
|
||||
@ -15,5 +16,5 @@ RUN install -m755 bin/eephttpd /usr/bin/eephttpd
|
||||
USER $user
|
||||
WORKDIR /opt/$user/
|
||||
VOLUME /opt/$user/
|
||||
COPY example/www /opt/$user/www
|
||||
COPY $path /opt/$user/www
|
||||
CMD eephttpd -sh=$samhost -sp=$samport $args
|
||||
|
Reference in New Issue
Block a user