Files
visualizador_instanciados/Dockerfile
2026-02-13 16:39:41 -03:00

19 lines
337 B
Docker

FROM node:lts-alpine
WORKDIR /app
# Copy dependency definitions
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the source code
COPY . .
# Expose the standard Vite port
EXPOSE 5173
# Compute layout, then start the dev server with --host for external access
CMD ["sh", "-c", "npm run dev -- --host"]