Skip to content

Instantly share code, notes, and snippets.

View CarlosVMPE's full-sized avatar
馃捇
Focusing

Carlos Vilchez Malasquez CarlosVMPE

馃捇
Focusing
View GitHub Profile
@CarlosVMPE
CarlosVMPE / recomendada.Dockerfile
Created August 19, 2022 15:27 — forked from Klerith/recomendada.Dockerfile
NextJS - Dockerfile - Configuraci贸n simple y recomendada
# Fuente: https://github.com/vercel/next.js/blob/canary/examples/with-docker/README.md
# Install dependencies only when needed
FROM node:16-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
@CarlosVMPE
CarlosVMPE / vite-testing-config.md
Last active July 16, 2022 04:53 — forked from Klerith/vite-testing-config.md
Vite + Jest + React Testing Library - Configuraciones a seguir

Instalaci贸n y configuracion de Jest + React Testing Library

En proyectos de React + Vite

  1. Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react 
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom

or npm
@CarlosVMPE
CarlosVMPE / Instalaciones-React.md
Created November 12, 2021 03:13 — forked from Klerith/Instalaciones-React.md
Instalaciones recomendadas para mi curso de React de cero a experto