File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -27,43 +27,16 @@ COPY scripts ./scripts
27
27
# Copy source code
28
28
COPY packages ./packages
29
29
30
-
31
-
32
30
# Install dependencies
33
31
RUN bun install
34
32
RUN bun add better-sqlite3
35
33
36
34
# Build the project
37
35
RUN bun run build
38
36
39
- # Create a new stage for the final image
40
- FROM node:23.3.0-slim
41
37
42
38
WORKDIR /app
43
39
44
- # Install Node.js 23.3.0 and required dependencies
45
- RUN apt-get update && \
46
- apt-get install -y curl git python3 make g++ unzip build-essential nodejs && \
47
- apt-get clean && \
48
- rm -rf /var/lib/apt/lists/*
49
-
50
- # Install bun using npm
51
- RUN npm install -g bun turbo@2.3.3
52
-
53
- # Copy built artifacts and production dependencies from the builder stage
54
-
55
- COPY --from=builder /app/package.json ./
56
- COPY --from=builder /app/tsconfig.json ./
57
- COPY --from=builder /app/turbo.json ./
58
- COPY --from=builder /app/lerna.json ./
59
- COPY --from=builder /app/renovate.json ./
60
- COPY --from=builder /app/biome.json ./
61
- COPY --from=builder /app/node_modules ./node_modules
62
- COPY --from=builder /app/packages ./packages
63
- COPY --from=builder /app/scripts ./scripts
64
-
65
-
66
-
67
40
# Set environment variables
68
41
ENV NODE_ENV=production
69
42
You can’t perform that action at this time.
0 commit comments