Add dockerfile
This commit is contained in:
14
api/Dockerfile
Normal file
14
api/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM oven/bun:1.2.19-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
COPY package.json bun.lock ./
|
||||
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "src/index.ts"]
|
||||
Reference in New Issue
Block a user