D
Dokploy11mo ago
Jumping

I can't do a Fresh install of Epic Stack Remix

Hi, I have been trying to deploy https://github.com/itsmegood/epic-stack/blob/main/other/Dockerfile (Remix - Epic Stack) I have made changes according to https://github.com/itsmegood/epic-stack/blob/main/docs/deployment.md#deploying-locally-using-dockerpodman it stops after step 6.48 any idea/ suggestions would be very helpful.
Cloned github.com/itsmegood/epic-stack.git: ✅

Build dockerfile: ✅
Source Type: github: ✅
Step 1/48 : FROM node:20-bookworm-slim as base
---> 1d063816b8cc
Step 2/48 : ENV NODE_ENV production
---> Using cache
---> 8f0f83e98e74
Step 3/48 : RUN apt-get update && apt-get install -y fuse3 openssl sqlite3 ca-certificates
---> Using cache
---> 305009609941
Step 4/48 : FROM base as deps
---> 305009609941
Step 5/48 : WORKDIR /myapp
---> Using cache
---> fdb9c67731b1
Step 6/48 : ADD package.json package-lock.json .npmrc ./
Docker Deployed: ✅
Cloned github.com/itsmegood/epic-stack.git: ✅

Build dockerfile: ✅
Source Type: github: ✅
Step 1/48 : FROM node:20-bookworm-slim as base
---> 1d063816b8cc
Step 2/48 : ENV NODE_ENV production
---> Using cache
---> 8f0f83e98e74
Step 3/48 : RUN apt-get update && apt-get install -y fuse3 openssl sqlite3 ca-certificates
---> Using cache
---> 305009609941
Step 4/48 : FROM base as deps
---> 305009609941
Step 5/48 : WORKDIR /myapp
---> Using cache
---> fdb9c67731b1
Step 6/48 : ADD package.json package-lock.json .npmrc ./
Docker Deployed: ✅
20 Replies
Jumping
JumpingOP11mo ago
if you want simauricia i can provide you with the server dekploy already installed
Siumauricio
Siumauricio11mo ago
I tried to deploy and i have this error
No description
Siumauricio
Siumauricio11mo ago
Looks like the builder of the dockerfile is omitting some logs 🤔
Jumping
JumpingOP11mo ago
Not sure coolify does deploy this only problem come at the very last step Also got the normal docker deploy working too
Siumauricio
Siumauricio11mo ago
that was the same erro you had in coolify?\
Jumping
JumpingOP11mo ago
No
Jumping
JumpingOP11mo ago
No description
Jumping
JumpingOP11mo ago
Something with volume /litefs Someone suggested to create docker compose file to persist the volume so I started learning that too Also if you want the ip:3000 dokploy dashboard to test let me know I bought the vps for testing only
Siumauricio
Siumauricio11mo ago
I'm testing locally, give me a moment I’ll probably need to make some changes in the docker file builder since is omitting some logs and this is not the first time is happening, the error is clear In the image I share above, is because is missing one file
Jumping
JumpingOP11mo ago
Strange no file seems missing could it be that because docker file is in /other/Dockerfile or I introduced workdir as /myapp it's expecting package.json there? I just tried and it looks like this was it. Its expecting docker file in root directory It stopped at step 21 can you try again?
Jumping
JumpingOP11mo ago
No description
Jumping
JumpingOP11mo ago
Ok after removing the line completely cause it might not be able to mount I am stuck at the same spot as coolify
Jumping
JumpingOP11mo ago
No description
Jumping
JumpingOP11mo ago
I think we are very close just few more steps and this should be able to deploy Let's goo dokploy I got the thing to deploy @Siumauricio kinda
Jumping
JumpingOP11mo ago
I got the image build from dokploy but to run it i had to use the 3 command
No description
Jumping
JumpingOP11mo ago
from the terminal but after i got this i can access it via my dokploy dashboard no idk if this will make litefs persistant or i would have to do this everytime i push something new to github
Siumauricio
Siumauricio11mo ago
for make sqlite database persisten use a volume in advanced settings looks like using the docker builder directly it works fine without any issues, I'll replace the builder so you don't going to have more any issue!
Siumauricio
Siumauricio11mo ago
GitHub
refactor(docker-build): replace docker build with the command by Si...
transition the docker build process from dockerode to raw command, since we have some troubles that are causing some features aren't available such as #155 and some people experience the docker...
Jumping
JumpingOP11mo ago
Thankyou so much
Jumping
JumpingOP11mo ago
Can you also make it so that we can have a docker container running without it deploying our app. Like just deploy a docker container cause if I want to do seed in production https://github.com/itsmegood/epic-stack/blob/main/docs/database.md#seeding-production I want the app be not running but I want the docker access to run commands
GitHub
epic-stack/docs/database.md at main · itsmegood/epic-stack
This is a Full Stack app starter with the foundational things setup and configured for you to hit the ground running on your next EPIC idea. - itsmegood/epic-stack

Did you find this page helpful?