Remove ianonavy where I can
10
Dockerfile
@ -1,12 +1,12 @@
|
|||||||
FROM docker.io/jekyll/builder:4 AS builder
|
FROM docker.io/jekyll/builder:4 AS builder
|
||||||
|
|
||||||
COPY --chown=1000 ./Gemfile* /src/
|
COPY --chown=1000 ./Gemfile* /app/
|
||||||
WORKDIR /src/
|
WORKDIR /app/
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
|
|
||||||
COPY --chown=1000 . /src
|
COPY --chown=1000 . /app
|
||||||
WORKDIR /src/ianonavy/
|
WORKDIR /app/src/
|
||||||
RUN jekyll build
|
RUN jekyll build
|
||||||
|
|
||||||
FROM nginx:1.21.3
|
FROM nginx:1.21.3
|
||||||
COPY --chown=nginx --from=builder /src/ianonavy/_site /usr/share/nginx/html/
|
COPY --chown=nginx --from=builder /app/src/_site /usr/share/nginx/html/
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# ianonavy
|
# website
|
||||||
|
|
||||||
Source code for my personal website.
|
Source code for my personal website.
|
||||||
|
|
||||||
|
|||||||
@ -10,4 +10,4 @@ cd "$(dirname "$0")/.."
|
|||||||
# ensure everything in the app is up to date.
|
# ensure everything in the app is up to date.
|
||||||
script/update
|
script/update
|
||||||
|
|
||||||
docker run --rm -it -p 4000:4000 -v "$PWD/ianonavy:/srv/jekyll" jekyll/minimal:4 jekyll serve
|
docker run --rm -it -p 4000:4000 -v "$PWD/src:/srv/jekyll" jekyll/minimal:4 jekyll serve
|
||||||
|
|||||||
0
ianonavy/.gitignore → src/.gitignore
vendored
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |