18 lines
253 B
Plaintext
18 lines
253 B
Plaintext
|
FROM node:20-alpine
|
||
|
WORKDIR /app
|
||
|
ENV PNPM_HOME="/pnpm"
|
||
|
ENV PATH="$PNPM_HOME:$PATH"
|
||
|
RUN corepack enable
|
||
|
RUN apk update
|
||
|
|
||
|
|
||
|
|
||
|
ENV NODE_ENV=production
|
||
|
COPY pnpm-lock.yaml ./
|
||
|
RUN pnpm fetch
|
||
|
COPY ./packages/scout /app
|
||
|
|
||
|
|
||
|
ENTRYPOINT ["pnpm"]
|
||
|
CMD ["run", "start"]
|