Skip to content

Commit 975fc45

Browse files
committed
Updated Dockerfiles to reflect new location for utils.sh
1 parent f83acb2 commit 975fc45

6 files changed

Lines changed: 12 additions & 6 deletions

Docker/Dockerfile-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ WORKDIR /src
235235
# Copy only the bits we need to for the .NET compilation steps
236236
COPY /CodeProject.AI-Server-Dev/src/server/ src/server/
237237
COPY /CodeProject.AI-Server-Dev/src/SDK/ src/SDK/
238+
COPY /CodeProject.AI-Server-Dev/src/scripts/ src/scripts/
238239
COPY /CodeProject.AI-Server-Dev/modules/ObjectDetectionYOLOv5Net/ modules/ObjectDetectionYOLOv5Net/
239240

240241
# Build and publish Server
@@ -325,7 +326,7 @@ RUN mv -f "/app/publish/preinstalled-modules/ObjectDetectionYOLOv5-6.2/modulese
325326
# SDK and install scripts
326327
COPY ["CodeProject.AI-Server-Dev/src/SDK/Python", "/app/publish/SDK/Python"]
327328
COPY ["CodeProject.AI-Server-Dev/src/server/install.sh", "/app/publish/server/install.sh"]
328-
COPY ["CodeProject.AI-Server-Dev/devops/scripts", "/app/publish/devops/scripts"]
329+
COPY ["CodeProject.AI-Server-Dev/src/scripts", "/app/publish/src/scripts"]
329330
COPY ["CodeProject.AI-Server-Dev/src/setup.sh", "/app/publish/setup.sh"]
330331

331332
# Cleanup / setup

Docker/Dockerfile-Arm64-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ WORKDIR /src
209209
# Copy only the bits we need to for the .NET compilation steps
210210
COPY src/server/ src/server/
211211
COPY src/SDK/ src/SDK/
212+
COPY src/scripts/ src/scripts/
212213
COPY modules/ObjectDetectionYOLOv5Net/ src/modules/ObjectDetectionYOLOv5Net/
213214

214215
# Build and publish Server
@@ -300,7 +301,7 @@ RUN mv -f "/app/publish/preinstalled-modules/ObjectDetectionYOLOv5-6.2/moduleset
300301
# SDK and install scripts
301302
COPY ["src/SDK/Python", "/app/publish/SDK/Python"]
302303
COPY ["src/server/install.sh", "/app/publish/server/install.sh"]
303-
COPY ["devops/scripts", "/app/publish/devops/scripts"]
304+
COPY ["src/scripts", "/app/publish/src/scripts"]
304305
COPY ["src/setup.sh", "/app/publish/setup.sh"]
305306

306307
# Cleanup / setup

Docker/Dockerfile-GPU-CUDA-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ WORKDIR /src
188188
# Copy only the bits we need to for the .NET compilation steps
189189
COPY src/server/ src/server/
190190
COPY src/SDK/ src/SDK/
191+
COPY src/scripts/ src/scripts/
191192
COPY modules/ObjectDetectionYOLOv5Net/ modules/ObjectDetectionYOLOv5Net/
192193

193194
# Build and publish Server
@@ -276,7 +277,7 @@ RUN rm -rf /app/publish/preinstalled-modules/ObjectDetectionYOLOv5-6.2/__pycache
276277
# SDK and install scripts
277278
COPY ["src/SDK/Python", "/app/publish/SDK/Python"]
278279
COPY ["src/server/install.sh", "/app/publish/server/install.sh"]
279-
COPY ["devops/scripts", "/app/publish/devops/scripts"]
280+
COPY ["src/scripts", "/app/publish/src/scripts"]
280281
COPY ["src/setup.sh", "/app/publish/setup.sh"]
281282

282283
# Cleanup / setup

Docker/Dockerfile-GPU-CUDA10_2-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ WORKDIR /src
188188
# Copy only the bits we need to for the .NET compilation steps
189189
COPY src/server/ src/server/
190190
COPY src/SDK/ src/SDK/
191+
COPY src/scripts/ src/scripts/
191192
COPY modules/ObjectDetectionYOLOv5Net/ src/modules/ObjectDetectionYOLOv5Net/
192193

193194
# Build and publish Server
@@ -277,7 +278,7 @@ RUN mv -f /app/publish/preinstalled-modules/ObjectDetectionYOLOv5-3.1/moduleset
277278
# SDK and install scripts
278279
COPY ["src/SDK/Python", "/app/publish/SDK/Python"]
279280
COPY ["src/server/install.sh", "/app/publish/server/install.sh"]
280-
COPY ["devops/scripts", "/app/publish/devops/scripts"]
281+
COPY ["src/scripts", "/app/publish/src/scripts"]
281282
COPY ["src/setup.sh", "/app/publish/setup.sh"]
282283

283284
# Cleanup / setup

Docker/Dockerfile-Jetson-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ WORKDIR /src
223223
# Copy only the bits we need to for the .NET compilation steps
224224
COPY src/server/ src/server/
225225
COPY src/SDK/ src/SDK/
226+
COPY src/scripts/ src/scripts/
226227

227228
# Build and publish Server
228229
WORKDIR "/src/src/server"
@@ -289,7 +290,7 @@ RUN mv -f /app/publish/preinstalled-modules/ObjectDetectionCoral/modulesettings.
289290
# SDK and install scripts
290291
COPY ["src/SDK/Python", "/app/publish/SDK/Python"]
291292
COPY ["src/server/install.sh", "/app/publish/server/install.sh"]
292-
COPY ["devops/scripts", "/app/publish/devops/scripts"]
293+
COPY ["src/scripts", "/app/publish/src/scripts"]
293294
COPY ["src/setup.sh", "/app/publish/setup.sh"]
294295

295296
# Cleanup / setup

Docker/Dockerfile-RPi64-2.7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ WORKDIR /src
204204
# Copy only the bits we need to for the .NET compilation steps
205205
COPY src/server/ src/server/
206206
COPY src/SDK/ src/SDK/
207+
COPY src/scripts/ src/scripts/
207208
COPY modules/ObjectDetectionYOLOv5Net/ src/modules/ObjectDetectionYOLOv5Net/
208209

209210
# Build and publish Server
@@ -305,7 +306,7 @@ COPY ["src/SDK/Python", "/app/publish/SDK/Python"]
305306
COPY ["src/server/install.sh", "/app/publish/server/install.sh"]
306307
RUN rm -rf /app/publish/SDK/Python/__pycache__
307308

308-
COPY ["src/SDK/Scripts", "/app/publish/SDK/Scripts"]
309+
COPY ["src/src/scripts", "/app/publish/src/scripts"]
309310
COPY ["src/setup.sh", "/app/publish/setup.sh"]
310311

311312
# END REVIEW ===================================================================

0 commit comments

Comments
 (0)