Fix docker development:

- Specify elixir version (1.15) in Dockerfile base image

- Add npm package to Dockerfile

- Fix vite server unreachable from outside the docker container:
  issue https://framagit.org/framasoft/mobilizon/-/issues/1225
This commit is contained in:
summersamara
2023-11-22 20:57:50 +01:00
parent 797eb2334b
commit 970597876b
3 changed files with 7 additions and 2 deletions

View File

@@ -83,6 +83,9 @@ export default defineConfig(({ command }) => {
return {
plugins,
build,
server: {
host: isDev ? "0.0.0.0" : "localhost",
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),