pidgin/nest
Clone
Summary
Browse
Changes
Graph
Moves hugo content into dedicated directory
2019-01-21, jason
aa480b2d5a9d
Moves hugo content into dedicated directory
+ Update Dockerfile and migrate-tracker
FROM
debian:buster
as
build
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
hugo
npm
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists
COPY
.
/hugo
RUN
set
-ex
&&
\
cd
/hugo
&&
\
hugo
-s
hugo
-d
../public
&&
\
npm
ci
--production
&&
\
npm
run
tidy
FROM
rwgrim/goserve
COPY
--from
=
build
/hugo/public
/html
EXPOSE
3000/tcp