pidgin/nest
Clone
Summary
Browse
Changes
Graph
Adds site wide visual regression tool
2019-03-20, Jason
98982dc7e0ce
Adds site wide visual regression tool
FROM
debian:buster
as
build
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
hugo
npm
&&
\
npm
i
-g
npm@6.4.1
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists
COPY
package-lock.json
package.json
/nest/
RUN
set
-ex
&&
\
cd
/nest
&&
\
npm
ci
--production
&&
\
npm
cache
clean
--force
COPY
.
/nest
RUN
hugo
-s
/nest/hugo
-d
/nest/public
&&
\
node
/nest/tools/pre-prod.js
FROM
rwgrim/goserve
COPY
--from
=
build
/nest/public
/html
EXPOSE
3000/tcp