Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 23:43:18 +05:00
committed by GitHub
parent 7e51f0e60b
commit 2aa52318c6

View File

@@ -36,9 +36,10 @@ RUN yarn install --verbose
# Copy the application code
COPY . .
RUN ls -alh
RUN ls -alh src/
# Build the Vite application
#RUN npm run build
RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build
RUN node --max-old-space-size=4096 /node_modules/.bin/vite build
# Stage 2: Create the runtime image
FROM nginx:alpine