Files
visualizador_instanciados/frontend/Dockerfile
2026-03-02 14:32:42 -03:00

18 lines
302 B
Docker

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