- myst config print: show current config with redacted secrets - myst verify: verify Forgejo connectivity and API token - myst doctor: comprehensive validation of config and connectivity - add start script to service package.json
22 lines
387 B
Docker
22 lines
387 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
COPY packages/service/package*.json ./packages/service/
|
|
COPY packages/shared/package*.json ./packages/shared/
|
|
COPY tsconfig.base.json ./
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
COPY . .
|
|
|
|
RUN pnpm -r --filter @myst/service build
|
|
|
|
ENV PORT=3000
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["pnpm", "--filter", "@myst/service", "start"]
|