Force fullclean to remove existing images
This commit is contained in:
parent
43021ebdda
commit
e371cdedcb
|
@ -1,8 +1,6 @@
|
||||||
|
|
||||||
FROM ruby:3.2.2-alpine AS builder
|
FROM ruby:3.2.2-alpine AS builder
|
||||||
|
LABEL stage=distrust-co-builder
|
||||||
RUN apk update && apk add g++ make git git-lfs
|
RUN apk update && apk add g++ make git git-lfs
|
||||||
|
|
||||||
RUN mkdir -p /home
|
RUN mkdir -p /home
|
||||||
COPY Gemfile /home
|
COPY Gemfile /home
|
||||||
COPY Gemfile.lock /home
|
COPY Gemfile.lock /home
|
||||||
|
@ -13,5 +11,4 @@ COPY . /home
|
||||||
RUN jekyll build
|
RUN jekyll build
|
||||||
|
|
||||||
FROM nginx
|
FROM nginx
|
||||||
|
|
||||||
COPY --from=builder /home/_site /usr/share/nginx/html
|
COPY --from=builder /home/_site /usr/share/nginx/html
|
||||||
|
|
Loading…
Reference in New Issue