mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-01-22 21:02:22 +01:00
WIP
This commit is contained in:
parent
edbeb46280
commit
4ae0a38d53
15
.dockerignore
Normal file
15
.dockerignore
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
node_modules
|
||||||
|
npm-debug.log
|
||||||
|
Dockerfile*
|
||||||
|
docker-compose*
|
||||||
|
.dockerignore
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.gitattibutes
|
||||||
|
.gitmodules
|
||||||
|
.env
|
||||||
|
*/bin
|
||||||
|
*/obj
|
||||||
|
.vscode
|
||||||
|
README.md
|
||||||
|
LICENSE
|
@ -1,4 +0,0 @@
|
|||||||
FROM klakegg/hugo:onbuild AS hugo
|
|
||||||
|
|
||||||
FROM nginx
|
|
||||||
COPY --from=hugo ./target /usr/share/nginx/html
|
|
@ -4,14 +4,6 @@ services:
|
|||||||
blog:
|
blog:
|
||||||
container_name: personal-blog
|
container_name: personal-blog
|
||||||
build:
|
build:
|
||||||
context: "."
|
context: ./personal-page
|
||||||
args:
|
args:
|
||||||
HUGO_ENV_ARG: "production"
|
HUGO_ENV_ARG: "production"
|
||||||
HUGO_CMD: "-s /src/personal-page"
|
|
||||||
|
|
||||||
client:
|
|
||||||
image: nginx
|
|
||||||
ports:
|
|
||||||
- 8000:80
|
|
||||||
volumes:
|
|
||||||
- ./src:/usr/share/nginx/html
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 649a903879b31a1053adc27e1682879a952119c6
|
|
Loading…
x
Reference in New Issue
Block a user