From b3313596d1d133a815ce8c8f092c008641107373 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 15 Oct 2022 21:42:34 +0200 Subject: [PATCH] change dockerfile and update gitignore --- .dockerignore | 2 +- build-image.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index ac54e72..4ecfe09 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,5 @@ * -!.pom.xml +!pom.xml !src/ !target/*-runner !target/*-runner.jar diff --git a/build-image.sh b/build-image.sh index a5be74b..c05fc0d 100644 --- a/build-image.sh +++ b/build-image.sh @@ -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 .