aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 6546e76834b8e996fa4b570ab443474981e2b276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM oven/bun as build

WORKDIR /due

COPY package.json ./

RUN bun install

COPY ./ ./

RUN bun run build

FROM oven/bun

WORKDIR /due

COPY --from=build /due .

EXPOSE 3000

CMD ["bun", "./build/index.js"]