Skip to content

Commit

Permalink
remove readme from website
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Dec 23, 2023
1 parent 31a30c7 commit cde63e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cde63e0

Please sign in to comment.