Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: rocky

services:
backend:
build:
context: .
dockerfile: rocky-backend/Dockerfile
networks:
- rocky-network


frontend:
build:
context: .
dockerfile: rocky-interface/Dockerfile
ports:
- "3000:4173"
networks:
- rocky-network


networks:
rocky-network:
driver: bridge
21 changes: 21 additions & 0 deletions rocky-interface/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM oven/bun:latest

WORKDIR /app

COPY rocky-interface/ ./


RUN bun install
COPY . ./


WORKDIR /app/rocky-frontend

RUN bun run build




EXPOSE 4173

CMD ["bun", "preview"]
3 changes: 1 addition & 2 deletions rocky-interface/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"rewriteRelativeImportExtensions": true,
"allowJs": true,
"checkJs": true,
"allowJs": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
Expand Down
2 changes: 2 additions & 0 deletions rocky-interface/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
allowedHosts: ['scorpion.cs.kent.edu'],
host: '0.0.0.0',
port: 5000
}
});
Loading