move the assets to remote location and change blog cover to Next/Image
This commit is contained in:
@@ -4,7 +4,7 @@ FROM base as builder
|
||||
USER 1000:1000
|
||||
ADD --chown=1000:1000 . /home/node/nextts
|
||||
WORKDIR /home/node/nextts
|
||||
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="/home/node/.shrc" SHELL="$(which sh)" sh -
|
||||
RUN wget -qO- https://get.pnpm.io/install.sh | PNPM_VERSION="8.15.3" ENV="/home/node/.shrc" SHELL="$(which sh)" sh -
|
||||
ENV PATH=/home/node/.local/share/pnpm:$PATH
|
||||
RUN pnpm install && pnpm run build
|
||||
|
||||
@@ -29,7 +29,7 @@ ENV NODE_ENV production
|
||||
ENV HOME /home/node
|
||||
ENV HOSTNAME "0.0.0.0"
|
||||
|
||||
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="/home/node/.shrc" SHELL="$(which sh)" sh -
|
||||
RUN wget -qO- https://get.pnpm.io/install.sh | PNPM_VERSION="8.15.3" ENV="/home/node/.shrc" SHELL="$(which sh)" sh -
|
||||
ENV PATH=/home/node/.local/share/pnpm:$PATH
|
||||
RUN pnpm install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user