Commit b6facc28 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- ADD needs to be relative to current directory

parent 3cb9ea3a
Pipeline #413 failed with stages
in 17 seconds
.git*
Dockerfile
sonar-project.properties
*.tar.gz
Smarty
......@@ -23,7 +23,7 @@ dockerize:
- curl -LO https://github.com/smarty-php/smarty/archive/v{$SMARTYVER}.tar.gz
- tar zxf v$SMARTYVER.tar.gz
- rm v$SMARTYVER.tar.gz
- mv smarty-$SMARTYVER /Smarty
- mv smarty-$SMARTYVER Smarty
- docker build --build-arg GIT_HASH=$CI_COMMIT_SHA
-t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA -t $CI_REGISTRY_IMAGE:latest
-f Dockerfile .
......
......@@ -21,6 +21,6 @@ RUN docker-php-ext-install mysqli \
ADD . /var/www/html
ADD /Smarty /var/www/Smarty
ADD Smarty /var/www/Smarty
EXPOSE 80
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment