10 lines
234 B
Docker
10 lines
234 B
Docker
|
FROM oven/bun:1
|
||
|
WORKDIR /usr/src/app
|
||
|
COPY src/ src/
|
||
|
COPY bun.lockb .
|
||
|
COPY package.json .
|
||
|
COPY tsconfig.json .
|
||
|
RUN bun install --production --frozen-lockfile
|
||
|
EXPOSE 8081/tcp
|
||
|
ENTRYPOINT [ "/bin/bash", "-c" ]
|
||
|
CMD ["bun run src/index.ts"]
|