Skip to content

Instantly share code, notes, and snippets.

Avatar

José Díaz joedayz

View GitHub Profile
@joedayz
joedayz / pom.xml
Created May 19, 2019
Plugin de JIB
View pom.xml
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>0.9.0</version>
<configuration>
<to>
@joedayz
joedayz / Dockerfile
Created May 19, 2019
Dockerfile para proyecto angular
View Dockerfile
FROM nginx:1.11-alpine
# Se agregan metadatos a la imagen
LABEL Descripción="Web Malla Promocional" Autor="Arquitectura" Versión="v1.0.0"
RUN apk add --no-cache tzdata
ENV TZ=America/Lima
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /
@joedayz
joedayz / Dockerfile
Created May 19, 2019
Dockerfile para backend spring boot
View Dockerfile
#De la imagen que partimos
FROM openjdk:8-jre-alpine
RUN apk add --no-cache tzdata
ENV TZ='America/Lima'
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apk --update add fontconfig ttf-dejavu
#Directorio de trabajo
View playas.jh
entity Reserva{
codigo String,
fechaHoraInicio ZonedDateTime,
fechaHoraFin ZonedDateTime,
espacioAsignado Integer,
estadoEspacioAsignado String,
estadoReserva String
}
View entidades jhipster
entity Blog {
name String required minlength(3),
handle String required minlength(2)
}
entity Entry {
title String required,
content TextBlob required,
date ZonedDateTime required
}