mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-06-17 11:29:31 -04:00
fix(docs): Dockerfile
This commit is contained in:
parent
b816e8497d
commit
3aef92e848
1 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@ FROM node:18-slim AS base
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the lockfiles and package.json to install dependencies
|
# Copy the lockfiles and package.json from docs directory
|
||||||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
COPY docs/package.json docs/yarn.lock* docs/package-lock.json* docs/pnpm-lock.yaml* ./
|
||||||
RUN \
|
RUN \
|
||||||
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
||||||
elif [ -f package-lock.json ]; then npm ci; \
|
elif [ -f package-lock.json ]; then npm ci; \
|
||||||
|
@ -20,7 +20,7 @@ WORKDIR /app
|
||||||
|
|
||||||
# Copy the installed node_modules and the rest of the app's source code
|
# Copy the installed node_modules and the rest of the app's source code
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY docs/. .
|
||||||
|
|
||||||
# Next.js collects completely anonymous telemetry data about general usage.
|
# Next.js collects completely anonymous telemetry data about general usage.
|
||||||
# Learn more here: https://nextjs.org/telemetry
|
# Learn more here: https://nextjs.org/telemetry
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue