Commit Graph

14 Commits

Author SHA1 Message Date
Jesse Chan 0b2f3a45c1 Dockerfile: copy config.cli.js to config.js 2020-09-17 02:35:59 +08:00
Jesse Chan 568c2cb57f config.cli: use as default by symlinking to config 2020-09-16 20:51:08 +08:00
Jesse Chan dc906adfab Dockerfile: do not run "git clean" for "pack"
Do not run "git clean" for "pack" as node image does not
have git and it is arguably more dangerous to copy .git
folder into intermediate build image.

As we don't run "git clean", sensitive information might
be included in result package. Add a warning for that.
2020-09-05 12:11:57 +08:00
Jesse Chan 47f514c4b8 Dockerfile: revamp
Simplify. Use the same logics as release. Switch to CLI interface.

docker run -it -p 3000:3000 jesec/flood:master
2020-09-05 00:31:31 +08:00
zewelor 9065284312 Dockerfile: provide a secret to allow build to proceed
Secret is not used in build time. However, config.js
requires one. It won't affect runtime secret in any way
and "flood" used here will be blocked in runtime.
2020-09-02 19:29:28 +08:00
slicepaperwords 52805c0525 Dockerfile addition from PR #796 (#799)
* Update Dockerfile

* Update Dockerfile

* Update Dockerfile
2019-05-12 09:54:38 -07:00
slicepaperwords fe2b9a6b83 updating dockerfile to include new updates (#796)
* updating dockerfile to include new updates

new node version and cut out some layers of the image

* Update Dockerfile
2019-05-10 22:10:02 -07:00
Ben Sampson 92e8989c0c Copy ABOUT.md in Dockerfile (#786)
Fixes #784
2019-05-02 20:41:41 -07:00
Alexander Chernov 2cd1aa63e7 Smaller docker image build. (#738)
Better use of multistaging build.
2019-01-03 20:27:51 -08:00
Shyam Sunder cedd8bea7a Smaller Docker image (#622)
* Docker image has been greatly slimmed down and caches node_modules for rebuilds

* Update Dockerfile

* Dockerfile improvements

* Remove devDependencies from final image (#2)

* Remove devDependencies from final image

* Move to single-stage build
2018-09-20 22:10:04 -07:00
Martin Charles 14d7996f76 Updated Dockerfile
This does two things:

1. No longer user onbuild. Onbuild is deprecated for [reasons outlined
   here][reasons].

2. Build static assets with the container. Before, the static assets
   wouldn't be built causing the container to crash on start up.

[reasons]: https://github.com/docker-library/official-images/issues/2076
2017-12-03 13:06:17 -05:00
Centzilius d6ea3f1e6d Install mediainfo before we copy the configuration 2017-05-28 15:00:02 +02:00
Centzilius a10ac7dbbe Install mediainfo 2017-05-28 00:23:16 +02:00
Bryan Alves 96f1f1c75b Add support for Docker
Including a configuration file that allows setting of most settings by
injecting environment variables into the container.
2017-04-07 23:39:44 -04:00