From 5cbaaf468752eea147f4d63b97b83f9b1ad210c5 Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Tue, 1 Jul 2025 20:07:12 -0400 Subject: [PATCH] add dockerignore and using last baseimage --- .dockerignore | 38 ++++++++++++++++++++++++++++++++++++++ docker/Dockerfile | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..a7e7a4dce --- /dev/null +++ b/.dockerignore @@ -0,0 +1,38 @@ +#Ignore documentation and license files +INSTALL.txt +LICENSE.txt +README.md +Rakefile +apiary.apib + +# Ignore development and testing files +.env +env_unittest.sh +phpunit.xml +behat.yml.dist +tests/ +features/ +patch/ +docker/ + +# Ignore build artifacts and temporary files +node_modules/ +build-vendor.php +build.xml +package-lock.json +package.json +gulpfile.js +webpack.config.js +webpack.mix.js + +# Ignore large directories that are not needed in production +resources/ +shared/ +database/ + +# Ignore any other files that are not needed in the image +*.log +*.tmp +*.bak +*.swp +.DS_Store diff --git a/docker/Dockerfile b/docker/Dockerfile index b68f6c748..297fd48cc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,6 @@ # Use our base image # FROM gitlab.luranasoft.com:5050/luos/docker/base-image:1.0.33-php8.3 -FROM gitlab.luranasoft.com:5050/luos/docker/base-image:1.0.37-php8.3 +FROM gitlab.luranasoft.com:5050/luos/docker/base-image:1.0.38-php8.3 # Set the working directory WORKDIR /code