Commit Graph

6 Commits

Author SHA1 Message Date
Bo Lu
61739fef05 fix studio docker image build error 2022-03-07 10:33:22 +11:00
Benjamin Tan
78336c6fcd Switch to node:14-slim 2022-01-07 12:12:05 +08:00
Benjamin Tan
30399667a1 studio: reduce Docker image size
This switches to Alpine for generating the Docker image for the Studio.
Additionally, the Studio is built first and unused dependencies and
cache are removed. This reduces the uncompressed image size from ~1.7GB
to ~600MB.

Note: this has only been tested on an AMD64 machine.
2022-01-03 15:31:59 +08:00
Bobbie Soedirgo
b8e65c8b2c refactor(studio): Dockerfile
- NODE_ENV is automatically set by `next`
- `next build` only necessary for prod
2021-12-01 17:37:36 +08:00
Copple
55b82433e9 Adds a docker build (#4121)
* Adds a docker build

* Adds the correct tags

* Sets up the studio port

* Adds quotes around false

* hide local env

* make sure we cover all env files

* only run sentry & analyzer on platform

* Update withAuth

* fixing multi-stage

* fix usage commands

* adds some fake service and anon keys

* Small fix

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2021-11-29 17:19:39 +08:00
Joshen Lim
9373f69220 Studio 🎙 2021-11-26 11:15:00 +05:30