Commit Graph
11 Commits
Author SHA1 Message Date
Han Qiao ad60cbc955 Apply suggestions from code review 2022-09-28 15:46:17 +08:00
Francisco Mazzoni e8237605a4 prune unused dependencies and clear next build cache for docker 2022-09-27 14:15:07 -03:00
Francisco Mazzoni 883d1f88a9 shrink prod docker image 2022-09-27 11:05:54 -03:00
Francisco Mazzoni 53ae226b00 fix for studio dockerFile to support turborepo 2022-09-27 10:30:23 -03:00
Bo Lu 28f4af8c13 add docker-entrypoint file to support docker secrets 2022-08-17 22:54:48 +10:00
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
CoppleandJoshen Lim 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