Fix docker

This commit is contained in:
Ondřej 2024-02-23 19:21:11 +01:00
parent 0bbe431e62
commit 87eb47b877
2 changed files with 2 additions and 0 deletions

View file

@ -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"]

View file

@ -11,6 +11,7 @@ export default defineConfig({
mode: "standalone", mode: "standalone",
}), }),
server: { server: {
host: "0.0.0.0",
port: 8000, port: 8000,
}, },
}); });