Skip to content

Commit 116f883

Browse files
committed
fix route of docker
1 parent 6d1f2f6 commit 116f883

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

services/one-app/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM node:20-alpine
2+
RUN apk add --no-cache libc6-compat
3+
WORKDIR /app
4+
5+
COPY services/one-app ./services/one-app
6+
COPY nx.json tsconfig* ./
7+
COPY package.json ./
8+
COPY yarn.lock .pnp* ./
9+
COPY .yarnrc.yml ./
10+
COPY .yarn .yarn
11+
12+
RUN yarn install
13+
14+
ENV NEXT_TELEMETRY_DISABLED=1
15+
16+
RUN yarn build:one-app
17+
18+
EXPOSE 3000
19+
20+
CMD ["yarn", "start:one-app"]

0 commit comments

Comments
 (0)