Remove vite dependecy.

This commit is contained in:
TheMaddax 2024-11-23 21:34:30 -06:00
parent 98e5dc568a
commit afe29ad910

View file

@ -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