Fast & Minimal Docker base image for static frontend (less than 8MB, but in production use a CDN)
docker pull zombispormedio/micro
FROM zombispormedio/micro:1.0.0
COPY public /var/www/public
ENV PORT 8085
ENV STATIC_DIR /var/www/public
EXPOSE 8085
CMD ["./micro"]
- go - Go is an open source programming language that makes it easy to build simple, reliable, and efficient software..
- fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT © Xavier Serrano