Comments (3)
I wrote a first pass of this:
- https://github.com/ridv/spliit2/blob/main/Dockerfile
- https://github.com/ridv/spliit2/blob/main/docker-compose.yml
I'm not too familiar with how NodeJS apps are packaged so there's some opportunities to package this app better.
@scastiel, some questions:
Is there a way to run the postinstall
script without having the database running?
Is it possible to run npm run postinstall
without needing to do npm run build
again afterwards?
Also wanted to say thanks for writing this app!
from spliit.
+1 for the docker image
from spliit.
see: https://github.com/vercel/next.js/tree/canary/examples/with-docker
- Copy Dockerfile to root of spliit2 repository - may also need to add lines to this to copy over prisma.schema
- add the following to ./next.config.js:
const nextConfig = {
output: 'standalone'
}
npm run build
docker build -t spliit2-docker .
docker run -p 3000:3000 spliit2-docker
from spliit.
Related Issues (20)
- Support: how does one import expenses from a Spliit JSON file? HOT 3
- Display uneven splitting in 'Expense' view HOT 2
- Special 'print mode' style without headers/footers
- Download button in the Expenses Tab HOT 3
- Bug: expenses with a future date mistakenly shown as "earlier this month" HOT 2
- Support: Visible transactions amounts per person HOT 2
- Floppy disk icon in Save button HOT 2
- Mark as paid selects the wrong participant HOT 2
- Add titles to "buttons" for a better user experience HOT 2
- Allow amount cursor edit
- Amount Format Error while creating from recipe
- Wrong path with deploy in apache2 with subfolder - Help HOT 2
- Default Split HOT 1
- Support for notifications HOT 1
- Feature request: Split with adjustments
- Pull access denied for spliit2 when attempting to run in a container HOT 6
- Feature request: user permissions HOT 1
- Allow expense values to be larger than 10.000.000
- Show Expense activity history in edit expense form
- Allow users to select their UI language HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spliit.