Refactor Dockerfile-web-ui-dev to include Vite build command and COPY src/Managing.WebApp/ in the Dockerfile
This commit is contained in:
@@ -24,9 +24,8 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography
|
||||
# Copy the rest of the app's source code to the container
|
||||
# COPY . .
|
||||
RUN ls -la
|
||||
COPY src/Managing.WebApp/ /app/
|
||||
COPY src/Managing.WebApp/ .
|
||||
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
|
||||
RUN ls -a app
|
||||
|
||||
# Build the app
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user