Skip to content

Instantly share code, notes, and snippets.

View DerianMolinaLopez's full-sized avatar

Derian Molina Lopez DerianMolinaLopez

View GitHub Profile
@Klerith
Klerith / Dockerfile
Last active November 8, 2025 20:40
Preparar imagen de Docker - Node App
# Install dependencies only when needed
FROM node:18-alpine3.15 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
# Build the app with cache dependencies
FROM node:18-alpine3.15 AS builder
@Klerith
Klerith / seed.ts
Created July 12, 2022 18:55
Nest-Teslo Seed
interface SeedProduct {
description: string;
images: string[];
stock: number;
price: number;
sizes: ValidSizes[];
slug: string;
tags: string[];
title: string;
type: ValidTypes;
@codigoconjuan
codigoconjuan / _globales.scss
Last active August 19, 2025 00:54
Estilos Globales para Festival de Música
@use 'variables' as v;
html {
font-size: 62.5%;
box-sizing: border-box;
scroll-padding-top: 0rem;
}
*,
*:before,
*:after {