Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Spikeysanju committed Oct 29, 2024
1 parent bf11198 commit d95c3e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ COPY . .
RUN bun run build

EXPOSE 3000
ENTRYPOINT ["bun", "./build"]
ENTRYPOINT ["bun", "./build/index.js"]
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
ports:
- "3000:3000"
environment:
HOST: 0.0.0.0
PUBLIC_POCKETBASE_URL: ${PUBLIC_POCKETBASE_URL}
PUBLIC_APPLICATION_NAME: ${PUBLIC_APPLICATION_NAME}
PUBLIC_APPLICATION_URL: ${PUBLIC_APPLICATION_URL}
Expand Down
8 changes: 6 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { defineConfig } from "vitest/config";
import { defineConfig } from "vite";
import { sveltekit } from "@sveltejs/kit/vite";

export default defineConfig({
plugins: [sveltekit()],

test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
},
server: {
host: '0.0.0.0',
port: 3000,
strictPort: true
}
});

0 comments on commit d95c3e7

Please sign in to comment.