# Alpine Base
FROM nginx:latest

MAINTAINER Vivek Dutta "vivek.dutta@iopsys.eu"

ENV SULU_VERSION=2.1.2

LABEL vendor=IOPSYS \
      org.opencontainers.image.version=$SULU_VERSION\
      org.opencontainers.image.vendor="IOPSYS" \
      org.opencontainers.image.description="Sulu Application container"

# Install nginx
COPY config/nginx.conf /etc/nginx/nginx.conf
COPY sulu /sulu

EXPOSE 80

# Run nginx
CMD ["nginx", "-g", "daemon off;"]
