<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spliit.git/scripts/build.env, branch main</title>
<subtitle>Free and Open Source Alternative to Splitwise. Share expenses with your friends and family.
</subtitle>
<id>http://forge.jan.systems/spliit.git/atom?h=main</id>
<link rel='self' href='http://forge.jan.systems/spliit.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://forge.jan.systems/spliit.git/'/>
<updated>2024-02-14T15:18:30Z</updated>
<entry>
<title>Optimize docker image size (#91)</title>
<updated>2024-02-14T15:18:30Z</updated>
<author>
<name>Jan T</name>
<email>jans.tuomi@gmail.com</email>
</author>
<published>2024-02-14T15:18:30Z</published>
<link rel='alternate' type='text/html' href='http://forge.jan.systems/spliit.git/commit/?id=2af066038351ab0634c359a688fe712a539992b4'/>
<id>urn:sha1:2af066038351ab0634c359a688fe712a539992b4</id>
<content type='text'>
* Move prisma to runtime dependencies

* Optimize Dockerfile and build script

* Fix: remove mention of generated next-env.d.ts in Dockerfile

* Add missing reset.d.ts file to Dockerfile

* Remove compression steps from Dockerfile and entrypoint script

* Add an env file with mocked env vars added for Docker production builds

* Use server actions to get runtime env vars

* Refactor types and names

* Rollback serverActions, use parsed Zod object for runtime env

* Reintroduce featureFlags object to avoid passing secret envs to the frontend

* Improve string to boolean coercion

Co-authored-by: Sebastien Castiel &lt;sebastien@castiel.me&gt;

* Run prettier autoformat

* Fix type issue, rename function to match behaviour better

---------

Co-authored-by: Lauri Vuorela &lt;lauri.vuorela@gmail.com&gt;
Co-authored-by: Sebastien Castiel &lt;sebastien@castiel.me&gt;</content>
</entry>
</feed>
