Closed Antoine-O closed 7 years ago
You needn't use the kubernetes part; the first part of the deploy script is all you need, with the Dockerfile
. Basically, something like this:
cd $app_source
meteor build --directory /tmp/export-meteor/build
cat >/tmp/export-meteor/Dockerfile <<ENDHERE
FROM ulexus/meteor:v1.4
COPY build /var/www
ENDHERE
cd /tmp/export-meteor
docker build -t myapp .
docker push myapp
hey there,
is there any way to compile meteor app in the dockerfile, the compilation is so long while deploying :/
thanks.