Spaces:
Running
Running
Fix/remove broken submodule URLs
Browse files- Dockerfile +3 -11
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# Multi-stage build for optimal image size and security
|
| 2 |
FROM oven/bun:1.2.17-alpine AS base
|
| 3 |
|
| 4 |
-
# Install curl for healthcheck
|
| 5 |
-
RUN apk --no-cache add curl
|
| 6 |
|
| 7 |
# Set working directory
|
| 8 |
WORKDIR /app
|
|
@@ -16,18 +16,10 @@ RUN addgroup -g 1001 -S svelte && \
|
|
| 16 |
# ===============================
|
| 17 |
FROM base AS deps
|
| 18 |
|
| 19 |
-
# Copy git configuration and submodule files
|
| 20 |
-
COPY .git .git
|
| 21 |
-
COPY .gitmodules* ./
|
| 22 |
-
|
| 23 |
-
# Initialize and update git submodules
|
| 24 |
-
RUN git config --global --add safe.directory /app && \
|
| 25 |
-
git submodule update --init --recursive
|
| 26 |
-
|
| 27 |
# Copy package files for dependency installation
|
| 28 |
COPY package.json bun.lock* ./
|
| 29 |
|
| 30 |
-
# Copy local packages and external dependencies
|
| 31 |
COPY packages/ packages/
|
| 32 |
COPY external/ external/
|
| 33 |
|
|
|
|
| 1 |
# Multi-stage build for optimal image size and security
|
| 2 |
FROM oven/bun:1.2.17-alpine AS base
|
| 3 |
|
| 4 |
+
# Install curl for healthcheck
|
| 5 |
+
RUN apk --no-cache add curl
|
| 6 |
|
| 7 |
# Set working directory
|
| 8 |
WORKDIR /app
|
|
|
|
| 16 |
# ===============================
|
| 17 |
FROM base AS deps
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Copy package files for dependency installation
|
| 20 |
COPY package.json bun.lock* ./
|
| 21 |
|
| 22 |
+
# Copy local packages and external dependencies
|
| 23 |
COPY packages/ packages/
|
| 24 |
COPY external/ external/
|
| 25 |
|