change dockerfile and update gitignore

This commit is contained in:
Valentin CZERYBA 2022-10-15 21:42:34 +02:00
parent e8b0caadd8
commit b3313596d1
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
*
!.pom.xml
!pom.xml
!src/
!target/*-runner
!target/*-runner.jar

View File

@ -1,3 +1,3 @@
#!/bin/bash
source ../.env
docker build --build-arg POSTGRES_URL=${POSTGRES_URL} --build-arg POSTGRES_PORT=${POSTGRES_PORT} --build-arg POSTGRES_DB=${POSTGRES_DB} --build-arg POSTGRES_USER=${POSTGRES_USER} --build-arg POSTGRES_PASSWORD=${POSTGRES_PASSWORD} --build-arg REDIS_URL=${REDIS_URL} --build-arg REDIS_PORT=${REDIS_PORT} -f src/main/docker/Dockerfile.centos -t quarkus-native .
docker build --build-arg POSTGRES_URL=${POSTGRES_URL} --build-arg POSTGRES_PORT=${POSTGRES_PORT} --build-arg POSTGRES_DB=${POSTGRES_DB} --build-arg POSTGRES_USER=${POSTGRES_USER} --build-arg POSTGRES_PASSWORD=${POSTGRES_PASSWORD} --build-arg REDIS_URL=${REDIS_URL} --build-arg REDIS_PORT=${REDIS_PORT} -t quarkus-native .