Merge pull request 'made improvements to have hugo be a docker image for self hosting' (#1) from features/docker-improvements into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
This commit is contained in:
commit
1f9ee72f54
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
.vscode
|
||||
.github
|
||||
.git
|
23
.drone.yml
Normal file
23
.drone.yml
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: buildLatestImage
|
||||
|
||||
steps:
|
||||
- name: buildLatestImage
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: jtom38/cookbook
|
||||
username: jtom38
|
||||
password:
|
||||
from_secret: DockerPushPat
|
||||
trigger:
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM alpine:3.18 as build
|
||||
|
||||
RUN apk add hugo
|
||||
RUN apk add go
|
||||
RUN apk add git
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN hugo
|
||||
|
||||
FROM alpine:3.18
|
||||
RUN apk add caddy
|
||||
COPY --from=build /app/public /site
|
||||
WORKDIR /site
|
||||
EXPOSE 1313
|
||||
|
||||
ENTRYPOINT [ "caddy", "file-server", "--listen", ":1313" ]
|
@ -2,4 +2,4 @@
|
||||
|
||||
This is my personal Cookbook hosted on Github built with Hugo.
|
||||
|
||||
The site can be viewed here [here](https://jtom38.github.io/cookbook)
|
||||
This project has a docker file in it to build a small image that you can deploy where you want. This uses [caddy](https://caddyserver.com/) for the web server. The build process will take the project and generate the static files. These files are used to run the web server. If you want more information on that process check the Dockerfile.
|
||||
|
@ -1,4 +1,4 @@
|
||||
baseURL: "https://cookbook.jamestombleson.com"
|
||||
#baseURL: "https://cookbook.jamestombleson.com"
|
||||
languageCode: "en-us"
|
||||
title: "Tombleson Family Cookbook"
|
||||
theme: "github.com/jtom38/hugo-cookbook"
|
||||
|
40
content/recipes/2023/10/chicken-tacos/index.md
Normal file
40
content/recipes/2023/10/chicken-tacos/index.md
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
title: "Southwestern Crockpot Chicken Tacos"
|
||||
subtitle:
|
||||
date: 2023-06-06T00:00:00-07:00
|
||||
draft: false
|
||||
|
||||
tags: [Cake]
|
||||
cuisine: [British]
|
||||
course: [Desert]
|
||||
|
||||
prepTimeMinutes: 30
|
||||
cookTimeMinutes: 50
|
||||
servings: "8 - 10"
|
||||
|
||||
parenturl: https://www.savorynothings.com/southwestern-crockpot-chicken-tacos/
|
||||
---
|
||||
|
||||
## Ingredients
|
||||
|
||||
- 1 pound chicken breast I used boneless, skinless
|
||||
- 1 tablespoon taco seasoning or more to taste
|
||||
- 1 (16-oz) jar salsa use half of your jar for less saucy chicken; see notes for more info
|
||||
- 1 (15-oz) can black beans rinsed and drained
|
||||
- 1 cup frozen corn
|
||||
- 1 onion coarsely chopped
|
||||
- taco shells and any toppings you like
|
||||
|
||||
## Augmentation
|
||||
|
||||
- Place the Chicken in the crocpot and add seasoning over chicken.
|
||||
- Add onion and Salsa in the crockpot
|
||||
- Cook for 8 hours.
|
||||
- Cook the corn in a skillet to brown the corn.
|
||||
- Cook the beans on their own
|
||||
|
||||
## Sides
|
||||
|
||||
- Instance Pot Mexican Rice
|
||||
- Instance Pot Pinto Beans
|
||||
|
Loading…
Reference in New Issue
Block a user