Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b198e8f21 | ||
|
|
6bf2dfedf2 | ||
|
|
bbbb9ba222 | ||
|
|
2de950fd12 | ||
|
|
f99ec38f14 | ||
|
|
9d8758eb31 |
@@ -7,17 +7,11 @@ yarn-error.log*
|
|||||||
pnpm-debug.log*
|
pnpm-debug.log*
|
||||||
lerna-debug.log*
|
lerna-debug.log*
|
||||||
|
|
||||||
node_modules
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist
|
|
||||||
dist-ssr
|
|
||||||
coverage
|
coverage
|
||||||
*.local
|
*.local
|
||||||
|
|
||||||
/cypress/videos/
|
node_modules
|
||||||
/cypress/screenshots/
|
|
||||||
|
|
||||||
# Editor directories and files
|
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
.idea
|
.idea
|
||||||
@@ -26,5 +20,5 @@ coverage
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
docs
|
||||||
*.tsbuildinfo
|
node
|
||||||
@@ -5,8 +5,8 @@ ENV PNPM_HOME="/pnpm"
|
|||||||
ENV PATH="$PNPM_HOME:$PATH"
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /app
|
||||||
COPY ./ /src
|
COPY . .
|
||||||
|
|
||||||
# RUN两次方便观察install和build, 也可以用pnpm cache and locked
|
# RUN两次方便观察install和build, 也可以用pnpm cache and locked
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
@@ -14,4 +14,4 @@ RUN npm run build
|
|||||||
|
|
||||||
FROM --platform=${BUILDPLATFORM:-linux/amd64,linux/arm64} ghcr.io/rookie-luochao/nginx-runner:latest
|
FROM --platform=${BUILDPLATFORM:-linux/amd64,linux/arm64} ghcr.io/rookie-luochao/nginx-runner:latest
|
||||||
|
|
||||||
COPY --from=builder /src/dist /app
|
COPY --from=builder /app/dist .
|
||||||
Reference in New Issue
Block a user