forked from verdnatura/hedera-web
Deploy fixes
This commit is contained in:
parent
ce0b782925
commit
2fdb66a55b
|
@ -25,7 +25,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
|
||||||
|
|
||||||
RUN a2dissite 000-default
|
RUN a2dissite 000-default
|
||||||
|
|
||||||
ARG STAMP=unknown
|
ARG BUILD_ID=unknown
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y hedera-web \
|
&& apt-get install -y hedera-web \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
@ -44,7 +44,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
|
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
|
||||||
sh 'docker-compose build --parallel'
|
sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
|
||||||
sh 'docker-compose push'
|
sh 'docker-compose push'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.406.80) stable; urgency=low
|
hedera-web (1.406.81) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@ set -e
|
||||||
|
|
||||||
(cd /usr/share/hedera-web && npm install --production)
|
(cd /usr/share/hedera-web && npm install --production)
|
||||||
|
|
||||||
a2enmod rewrite headers
|
|
||||||
|
|
||||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
||||||
then
|
then
|
||||||
. /usr/share/apache2/apache2-maintscript-helper
|
. /usr/share/apache2/apache2-maintscript-helper
|
||||||
|
apache2_invoke enmod rewrite
|
||||||
|
apache2_invoke enmod headers
|
||||||
apache2_invoke enconf hedera-web.conf
|
apache2_invoke enconf hedera-web.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "1.406.80",
|
"version": "1.406.81",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue