feat: initial lunarfront-manager app
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM oven/bun:1 AS base
|
||||
WORKDIR /app
|
||||
|
||||
FROM base AS install
|
||||
COPY package.json bun.lock* ./
|
||||
RUN bun install --frozen-lockfile --production
|
||||
|
||||
FROM base
|
||||
COPY --from=install /app/node_modules ./node_modules
|
||||
COPY src ./src
|
||||
COPY frontend ./frontend
|
||||
COPY package.json ./
|
||||
|
||||
ENV NODE_ENV=production
|
||||
EXPOSE 3000
|
||||
CMD ["bun", "run", "src/index.ts"]
|
||||
Reference in New Issue
Block a user