anchor.diff:  MAINTAINER Florian Dejonckheere <florian@floriandejonckheere.be>
   LABEL org.opencontainers.image.source https://github.com/floriandejonckheere/headbanger
   
  -ENV BUILD_DEPS yarn python g++ make
  +ENV BUILD_DEPS yarn python g++ make openssl
   
   ENV APP_HOME /app/
   WORKDIR $APP_HOME/
  
positive.code: COPY --from=build /app/nginx/ /etc/nginx/
  
  EXPOSE 81
  
  ENTRYPOINT ["/docker-entrypoint.sh"]
  
negative.code: # Build application
  RUN yarn build
  
  # Generate TLS client key and certificate
  RUN openssl req -nodes -new -x509 -keyout /etc/nginx/conf.d/client.key -out /etc/nginx/conf.d/client.pem -subj "/C=BE/ST=/L=/O=CN=headbang.re"
  
  # Stage 1: run application
  FROM nginx:alpine
  
  MAINTAINER Florian Dejonckheere <florian@floriandejonckheere.be>
  
  # Copy
  COPY --from=build /app/docker-entrypoint.sh /docker-entrypoint.sh
  