dockerize sveltekit #5673
cybermedusa
started this conversation in
General
Replies: 1 comment 5 replies
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue with running sveltekit app through the docker container. I am able to run an app in docker but when I want to make some changes on frontend UI I can see them only for one second. And when I stop the container and build an image again I am able to see those changes normally.
My Dockerfile is:
My docker-compose.yml file is:
Port 3000 is for sveltekit, 5173 is for sveltekit but in Docker and 24678 is for vite.
And my folder structure is:
And I also modified the vite.config.js file which look like this:
I have no idea what is wrong so any help will be more than appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions