1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Use Dockerfile for deploy

Dockerfile to build, Procfile to run
This commit is contained in:
Daniel Barber 2021-12-15 21:21:13 -06:00
parent a88675fd79
commit eed6573909
2 changed files with 6 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM alpine:latest
RUN apk add --no-cache bash hugo
WORKDIR /app
COPY . ./

2
Procfile Normal file
View File

@ -0,0 +1,2 @@
release: hugo -v
web: hugo server --disableLiveReload --bind '0.0.0.0' -p ${PORT}