Skip to content
Snippets Groups Projects
Commit 9c1dc6b9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

not ignoring vendor folder in production build

parent f00d4b7c
No related branches found
No related tags found
2 merge requests!1973Development,!1934Resolve "Update Images"
...@@ -3,6 +3,8 @@ fpm: ...@@ -3,6 +3,8 @@ fpm:
image: $BUILD_DOCKER_IMAGE image: $BUILD_DOCKER_IMAGE
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# We need the vendor files in our final image. Make sure to not ignore the folder
- echo "!metager/vendor" >> .dockerignore
script: script:
- docker build --network=host - docker build --network=host
--target=production --target=production
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment