create buid artifact
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,15 +1,7 @@
|
||||
FROM oven/bun
|
||||
FROM nginx:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lock ./
|
||||
COPY ./dist .
|
||||
|
||||
RUN bun install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 5173
|
||||
|
||||
CMD ["bun", "run", "dev", "--host"]
|
||||
CMD ["nginx", "-g", "daemon off; "]
|
||||
|
||||
Reference in New Issue
Block a user