Fix docker
This commit is contained in:
parent
0bbe431e62
commit
87eb47b877
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ COPY . .
|
||||||
RUN npm run migrate
|
RUN npm run migrate
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["dist/server/entry.mjs"]
|
CMD ["dist/server/entry.mjs"]
|
||||||
|
|
|
@ -11,6 +11,7 @@ export default defineConfig({
|
||||||
mode: "standalone",
|
mode: "standalone",
|
||||||
}),
|
}),
|
||||||
server: {
|
server: {
|
||||||
|
host: "0.0.0.0",
|
||||||
port: 8000,
|
port: 8000,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue