tweaked dockerfile.

This commit is contained in:
idk
2018-08-08 18:35:09 -04:00
parent adc7acfe3c
commit f7f556cea8
3 changed files with 12 additions and 11 deletions

View File

@ -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