chore: replace sass lib

This commit is contained in:
2022-06-22 15:17:37 +09:00
parent fc3d5f5abb
commit 9c176438b2
3 changed files with 18 additions and 15 deletions

View File

@@ -1,19 +1,20 @@
FROM node:15 as build
FROM node:16 as build
# https://github.com/jgm/pandoc/releases
RUN curl -LO https://github.com/jgm/pandoc/releases/download/2.14.0.1/pandoc-2.14.0.1-1-amd64.deb
RUN dpkg -i pandoc-2.14.0.1-1-amd64.deb
WORKDIR /app
COPY package.json /app/
RUN yarn install
COPY themes /app/themes
COPY source /app/source
COPY _config.yml /app/
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY themes themes
COPY source source
COPY _config.yml ./
RUN yarn build
FROM nginx:stable-alpine as runtime
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/public /var/www/html/
COPY --from=build /app/public /var/www/html/