Skip to content

Commit 2f47c87

Browse files
Merge pull request #851 from xaoex/copilot/fix-deployment-issues
Fix Docker and npm deployments - add missing lib/ directory and dependencies
2 parents e6fc89c + a247391 commit 2f47c87

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ RUN npm install --omit=dev --omit=optional --ignore-scripts && \
3131
# Copy application files
3232
COPY index.js ./
3333
COPY demo.js ./
34+
COPY realitycsems-integration.js ./
35+
COPY realitycsems-cli.js ./
36+
COPY anonymous-package.js ./
37+
COPY optimization-system.js ./
38+
39+
# Copy lib directory with all modules
40+
COPY lib/ ./lib/
41+
42+
# Copy supporting directories
43+
COPY .realitycsems/ ./.realitycsems/
44+
COPY .anonymouscalc/ ./.anonymouscalc/
45+
COPY .baes/ ./.baes/
46+
COPY .coolems/ ./.coolems/
3447

3548
# Copy documentation
3649
COPY README.md ./
@@ -41,6 +54,8 @@ COPY YOUNG_FIELD.md ./
4154
COPY YOSHIS_SECRET_BAE_MATH.md ./
4255
COPY WHITEPAPER_YOUNG_SITUATION.md ./
4356
COPY IMPLEMENTATION_SUMMARY.md ./
57+
COPY REALITYCSEMS.md ./
58+
COPY ANONYMOUS_PACKAGE.md ./
4459

4560
# Copy configuration files needed for runtime
4661
COPY .realtime .online .necessaries ./

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,15 @@
8181
"realitycsems-integration.js",
8282
"realitycsems-cli.js",
8383
"anonymous-package.js",
84+
"optimization-system.js",
85+
"lib/",
8486
".realitycsems/",
8587
".anonymouscalc/",
8688
".baes/",
8789
".coolems/",
8890
"README.md",
8991
"LICENSE",
92+
"PACKAGE.md",
9093
"REALITYCSEMS.md",
9194
"ANONYMOUS_PACKAGE.md",
9295
"YOUNG_SITUATION.md",

0 commit comments

Comments
 (0)