Permalink
4ac3d48 May 13, 2018
1 contributor

Users who have contributed to this file

17 lines (11 sloc) 560 Bytes
FROM debian:jessie
ENV API_UMBRELLA_VERSION 0.14.4-1~jessie
# Install API Umbrella
RUN echo "deb http://dl.bintray.com/nrel/api-umbrella-debian jessie main" >> /etc/apt/sources.list.d/api-umbrella.list
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends --allow-unauthenticated install api-umbrella
# Define mountable directories
VOLUME ["/etc/api-umbrella", "/opt/api-umbrella/var/db", "/opt/api-umbrella/var/log"]
# Expose HTTP and HTTPS ports
EXPOSE 80 443
# Run the API Umbrella service
CMD ["api-umbrella", "run"]