SOIAMXLWIB5RIEMKXUFMBSE2SKQQTMHYSW3DKUX6GEV4VNOQVHAQC
ADD ./client /opt/aftok/client
WORKDIR /opt/aftok/client
RUN npm install
RUN bower install
RUN pulp build
RUN pulp browserify --optimise --to dist/aftok.js
ADD ./dist /opt/aftok/server/static
#ADD ./client /opt/aftok/client
#WORKDIR /opt/aftok/client
#RUN npm install
#ENV PATH=./node_modules/.bin:${PATH}
#
#RUN bower --allow-root install
#RUN pulp build
#RUN pulp browserify --optimise --to dist/aftok.js
#ADD ./dist /opt/aftok/server/static
build-container:
sudo docker build -t aftok/aftok:latest .
VERSION=$(shell git describe)
build-image:
docker build -t nuttycom/aftok:latest .
deploy-image: build-image
docker tag nuttycom/aftok:latest nuttycom/aftok:$(VERSION)
docker push docker.io/nuttycom/aftok:$(VERSION)