diff --git a/Dockerfile b/Dockerfile index 2749dfa..8da46a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ruby:3.2.2-alpine AS builder -LABEL stage=distrust-co-builder +LABEL stage=caution-co-builder RUN apk update && apk add g++ make git git-lfs RUN mkdir -p /home COPY Gemfile /home @@ -8,7 +8,7 @@ COPY _vendor /home/_vendor WORKDIR /home RUN bundle install COPY . /home -RUN jekyll build +RUN jekyll build FROM debian:bookworm AS mime-types RUN apt-get update && apt-get install -y media-types diff --git a/Makefile b/Makefile index 2f41abf..06d50a1 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ .PHONY: build build: # Build Docker image - docker build -t distrust-co . + docker build -t caution-co . .PHONY: fullclean fullclean: clean - docker rmi distrust-co || true - docker image prune -f --filter label=stage=distrust-co-builder || true + docker rmi caution-co || true + docker image prune -f --filter label=stage=caution-co-builder || true .PHONY: clean clean: @@ -14,9 +14,9 @@ clean: _site: build mkdir -p _site - docker run distrust-co tar c -C /usr/share/nginx/html . | tar x -C _site + docker run caution-co tar c -C /usr/share/nginx/html . | tar x -C _site .PHONY: serve serve: build # Run Docker container with listener for current dir and port mapping - docker run --rm -p 0.0.0.0:4000:80 -it distrust-co \ No newline at end of file + docker run --rm -p 0.0.0.0:4000:80 -it caution-co