Skip to content

Commit

Permalink
docker compose working
Browse files Browse the repository at this point in the history
  • Loading branch information
TellToldTold committed Jun 1, 2024
1 parent bfa08b3 commit 2f20f16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ api/src/modules/GAuth/authInfo
/**/dist
/**/*.tsbuildinfo
.vscode
/**/.env*
.env_db
.env
.env_web
.env_api

tmp-*

Expand Down
3 changes: 1 addition & 2 deletions Dockerfile_web
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ RUN pnpm run build:web

# Expose the port
EXPOSE 5173
EXPOSE 5174

# Start the app
CMD ["pnpm", "preview:web"]
CMD ["pnpm", "dev:web"]

4 changes: 4 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0',
port: 5173,
},
});

0 comments on commit 2f20f16

Please sign in to comment.