add files
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM oven/bun AS build
|
||||
WORKDIR /app
|
||||
COPY bun.lock package.json ./
|
||||
RUN bun install
|
||||
COPY . .
|
||||
RUN bun run build
|
||||
|
||||
FROM oven/bun:slim
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/build ./build
|
||||
EXPOSE 3000
|
||||
CMD ["bunx", "serve", "build", "-l", "tcp://0.0.0.0:3000"]
|
||||
Reference in New Issue
Block a user