From cde63e01c7d811f45efeff7c175abc8573fc4721 Mon Sep 17 00:00:00 2001 From: a squid <34890855+squi-ddy@users.noreply.github.com> Date: Sat, 23 Dec 2023 13:22:19 -0800 Subject: [PATCH] remove readme from website --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4297648..d6b551a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,17 @@ COPY package.json . COPY yarn.lock . RUN yarn install --frozen-lockfile COPY . . + # replace the values in constants.ts ARG STATIC_URL ENV STATIC_URL ${STATIC_URL} RUN apt-get update && apt-get install -y gettext-base RUN envsubst < src/constants.ts > src/constants.ts.tmp RUN mv src/constants.ts.tmp src/constants.ts + +# remove the readme in the static folder +RUN rm static/README.md + RUN yarn run gridsome build FROM nginx:alpine-slim AS deploy