10 Commits

Author SHA1 Message Date
Grzegorz Leoniec
58d7541907
Merged master in 2019-02-26 17:47:51 +01:00
Grzegorz Leoniec
dfceb51f23
Fixing docker build 2019-02-16 14:08:53 +01:00
Robert Schäfer
41f0a44d08 Separate .nuxt folders for docker and local setup
Creating a separate volume for .nuxt/ where nuxt stores its transpiled
files ensures that both local and docker setup are isolated from each
other. E.g. on Linux I see these annoying owner permission errors,
because the user in the docker environment is called `root` not my user
on my host system `robert`.

This might be interesting for @mattwr18 too
2019-02-15 13:32:57 +01:00
Robert Schäfer
521a868ca8 Revert "Try to help @mattwr18"
This reverts commit 6b4601e9d14d63362877e293b7219d23cf1b4ecd.

@mattwr18 for reasons I don't understand, our build server hangs
https://travis-ci.com/Human-Connection/Nitro-Web/builds/96979338

Honestly, I start to think this is a bug in `docker-compose`
2019-01-11 01:14:48 +01:00
Robert Schäfer
6b4601e9d1 Try to help @mattwr18
I give up now after numerous attempts to reduce the docker image size.
The only thing left is that I've put the NODE_ENV=.. configuration in
the docker-compose.X.yml files, I think that's slightly cleaner
2019-01-11 00:54:43 +01:00
Matt Rider
3e3065c4a4 Refactor multistage build names, copy locales in base 2019-01-04 19:46:07 -02:00
Matt Rider
e88b674a29 Configure docker-compose, travis multistage build 2019-01-03 20:22:46 -02:00
Robert Schäfer
da498b28f0 Volume for styleguide dependencies
Otherwise you would have to install dependencies on your host system
which is bad practice.
2018-12-08 23:14:12 +01:00
Robert Schäfer
d4d0eb88cf Fix wrong folder names
@appinteractive same same, git-grep is your friend
2018-12-08 15:45:16 +01:00
Robert Schäfer
db724e7834 Split development config from production config
in `docker-compose.yml` and `docker-compose.override.yml`. This should speed
up builds e.g. on Travis CI, which does not need to sync folders or run
`yarn run dev` if the docker image was built recently. Also it should
make the build more reliable as it behaves more similar to our deployment.
2018-12-08 15:45:02 +01:00