Prevent indexing on docs outside of production (#1054)
* Prevent indexing on docs outside of production * Add dockerfile arg * Rename args * Add logs * Move arg to the right dockerfile * Remove log
This commit is contained in:
@ -2,6 +2,8 @@ FROM node:18.16.0-alpine as docs
|
||||
|
||||
WORKDIR /app/docs
|
||||
|
||||
ARG SHOULD_INDEX_DOC
|
||||
|
||||
COPY ./docs/package.json .
|
||||
COPY ./docs/yarn.lock .
|
||||
RUN yarn install --prod
|
||||
|
||||
Reference in New Issue
Block a user