Skip to content

Commit 070f683

Browse files
committed
feat: update docker compose and viteconfig
1 parent ad40a7c commit 070f683

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
env_file:
2424
- .env
2525
ports:
26-
- "5173:80"
26+
- "5050:5050"
2727
depends_on:
2828
- backend
2929
db:

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ RUN npm install -g serve
1717
COPY --from=builder /frontend/dist ./dist
1818

1919
EXPOSE 3000
20-
CMD ["serve", "-s", "dist", "-l", "3000"]
20+
CMD ["serve", "-s", "dist", "-l", "5050"]

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import tailwindcss from "@tailwindcss/vite";
33
import react from "@vitejs/plugin-react";
44

55
export default defineConfig({
6-
envDir: ".",
6+
envDir: "..",
77
plugins: [react(), tailwindcss()],
88
});

0 commit comments

Comments
 (0)