Update Vite build configuration in vite.config.ts
This commit is contained in:
@@ -33,7 +33,12 @@ RUN npm run build
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
# Copy the built app to the NGINX web server directory
|
# Copy the built app to the NGINX web server directory
|
||||||
COPY --from=0 /app/build /usr/share/nginx/html
|
# COPY --from=0 /app/build /usr/share/nginx/html
|
||||||
|
|
||||||
|
RUN ls -la /app
|
||||||
|
|
||||||
|
# Copy the built Vite application from the builder stage
|
||||||
|
COPY --from=0 /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
# Expose port 80 for the NGINX web server
|
# Expose port 80 for the NGINX web server
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
Reference in New Issue
Block a user