Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

Commit ff3ca18

Browse files
committed
Add Dockerfile
1 parent e5296be commit ff3ca18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM ruby:2.5-alpine
2+
ENV BIND=0.0.0.0 PORT=8000 USER=admin PASS=passadmin SSL=TRUE
3+
ADD . /work
4+
WORKDIR /work
5+
RUN bundle
6+
ENTRYPOINT sh -xc '[ $SSL = "TRUE" ] && SSLCMD="--ssl" || SSLCMD=""; bundle exec redfish serve $SSLCMD --user $USER --pass $PASS --bind $BIND --port $PORT lenovo-sr650'

0 commit comments

Comments
 (0)