feat: support building docker image
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM oven/bun:1
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
RUN bun install --frozen-lockfile --production
|
||||
ENV NODE_ENV=production
|
||||
USER bun
|
||||
EXPOSE 7000/tcp
|
||||
ENTRYPOINT [ "bun", "run", "index.ts" ]
|
||||
Reference in New Issue
Block a user