Skip to content

Commit

Permalink
234
Browse files Browse the repository at this point in the history
2134
  • Loading branch information
mskim98 committed Jan 18, 2024
1 parent a2f738d commit dce09c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ services:
- ./backend:/app
- /app/node_modules

front:
container_name: front
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
ports:
- "3001:3001"
depends_on:
- backend
command: ["npm", "run", "dev"]

nginx:
container_name: nginx
build:
Expand Down
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
plugins: [react(), tsconfigPaths()],
server: {
port: 3000,
port: 3001,
host: true,
},
resolve: {
Expand Down

0 comments on commit dce09c7

Please sign in to comment.