Skip to content

Commit 0ab5d17

Browse files
authored
Merge pull request #80 from teacoder-team/dev
chore: add Dockerfile
2 parents de1aa51 + 511e03a commit 0ab5d17

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

apps/web/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM node:20-alpine AS build
2+
3+
RUN apk add --no-cache git
4+
5+
WORKDIR /app
6+
7+
RUN npm install -g pnpm
8+
9+
COPY package.json ./
10+
RUN corepack enable && pnpm install
11+
12+
COPY . .
13+
14+
RUN pnpm run build
15+
16+
EXPOSE 5000
17+
18+
CMD ["pnpm", "run", "start"]

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "next build",
77
"dev": "next dev",
8-
"start": "next start",
8+
"start": "next start -p 5000",
99
"types:check": "fumadocs-mdx && next typegen && tsc --noEmit",
1010
"postinstall": "fumadocs-mdx"
1111
},

apps/web/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const metadata: Metadata = {
1313

1414
export default function Layout({ children }: LayoutProps<'/'>) {
1515
return (
16-
<html lang='en' className={inter.className} suppressHydrationWarning>
16+
<html lang='ru' className={inter.className} suppressHydrationWarning>
1717
<body className='flex flex-col min-h-screen'>
1818
<RootProvider>{children}</RootProvider>
1919
</body>

0 commit comments

Comments
 (0)