Remove vite dependecy.
This commit is contained in:
parent
98e5dc568a
commit
afe29ad910
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
FROM --platform=linux/amd64 node:20-alpine as build
|
FROM --platform=linux/amd64 node:20-alpine as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Essential build dependencies only
|
# Essential build dependencies
|
||||||
RUN apk add --no-cache python3 make g++ curl git libc6-compat
|
RUN apk add --no-cache python3 make g++ curl git libc6-compat
|
||||||
|
|
||||||
# Install dependencies from package.json
|
# Install dependencies from package.json
|
||||||
|
|
@ -14,7 +14,7 @@ RUN npm install -g typescript
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage - static files only
|
# Production stage
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue