Skip to content

Commit

Permalink
fix: copy less stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
entlein committed Mar 29, 2024
1 parent 1d191cb commit 8c51b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile5
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ FROM node:19.4-alpine AS indexer
WORKDIR /opt/blog-search
COPY package.json processFiles.js Gruntfile.js LICENSE README.md Makefile ./
COPY blog blog
COPY nginxconfig nginxconfig
COPY openssl openssl
RUN npm install -g grunt-cli \
&& npm install \
&& grunt lunr-index

FROM klakegg/hugo:0.101.0-busybox AS builder
WORKDIR /opt/blog-search
COPY --from=indexer /opt/blog-search/ .
COPY nginxconfig nginxconfig
COPY openssl openssl
COPY --from=indexer /opt/blog-search/blog .
WORKDIR /opt/blog-search/blog
RUN hugo

Expand Down

0 comments on commit 8c51b14

Please sign in to comment.