Smart contracts for the Besu permissioning system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
permissioning-smart-contracts/docker/Dockerfile

17 lines
469 B

FROM nginx:1.15-alpine
# Set healthcheck route
RUN apk --no-cache add curl
HEALTHCHECK CMD curl -f http://localhost/healthcheck || exit 1
# Copy nginx conf
COPY docker/default.conf /etc/nginx/conf.d/default.conf
COPY docker/config.json.template /tmp/config.json.template
# Copy application bundle
RUN mkdir -p /var/www/html
COPY build /var/www/html/
# Runtime
EXPOSE 80
CMD envsubst < /tmp/config.json.template > /var/www/html/config.json && nginx -g "daemon off;"