Include index.html in Docker build
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
FROM node:20-alpine AS build
|
FROM node:20-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json* tsconfig*.json vite.config.ts ./
|
COPY package.json package-lock.json* tsconfig*.json vite.config.ts ./
|
||||||
|
COPY index.html ./
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
COPY public ./public
|
COPY public ./public
|
||||||
RUN npm ci --no-audit --no-fund && npm run build
|
RUN npm ci --no-audit --no-fund && npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user