blanchon commited on
Commit
d9e1da0
·
1 Parent(s): b9d5e52

Fix/remove broken submodule URLs

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -3
  2. external/RobotHub-InferenceServer +1 -1
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,10 +16,18 @@ RUN addgroup -g 1001 -S svelte && \
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
 
 
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 and git for submodules
5
+ RUN apk --no-cache add curl git
6
 
7
  # Set working directory
8
  WORKDIR /app
 
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 (now populated)
31
  COPY packages/ packages/
32
  COPY external/ external/
33
 
external/RobotHub-InferenceServer CHANGED
@@ -1 +1 @@
1
- Subproject commit 6891c07aa81b76555206f14ac4882a4cfc5620d2
 
1
+ Subproject commit c30abb65c9a278e59f733f457f7d01ec7822300a