Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 23:47:37 +05:00
committed by GitHub
parent 545d333672
commit 5a30da7f74

View File

@@ -34,12 +34,12 @@ RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines
RUN yarn install --verbose
# Copy the application code
COPY . .
COPY ./src/Managing.WebApp/ /app/
RUN ls -alh
RUN ls -alh src/
# Build the Vite application
#RUN npm run build
RUN node --max-old-space-size=4096 ./src/Managing.WebApp/node_modules/.bin/vite build
RUN node --max-old-space-size=4096 ./node_modules/.bin/vite build
# Stage 2: Create the runtime image