Compare commits
2 Commits
e94bd7eb29
...
8cf7b70fad
| Author | SHA1 | Date | |
|---|---|---|---|
| 8cf7b70fad | |||
| 3faa7c6ee0 |
@@ -0,0 +1,4 @@
|
|||||||
|
public/
|
||||||
|
resources/
|
||||||
|
.hugo_build.lock
|
||||||
|
.idea/
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
FROM hugomods/hugo:exts AS builder
|
||||||
|
WORKDIR /src
|
||||||
|
COPY . .
|
||||||
|
RUN git submodule update --init --recursive && \
|
||||||
|
hugo --gc --minify
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=builder /src/public /usr/share/nginx/html
|
||||||
|
EXPOSE 80
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user