hcengineering / hcengineering/platform

Docker deployment

Open
#5,722 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

I am trying to install in a container the not [huly-selfhost](https://github.com/hcengineering/huly-selfhost) version

### Your environment
* Version of huly: 0.6.111
* Browser (and version): NA
* Your operating system (and version): debian 11 / docker

### Steps to reproduce
clone the repo git clone https://github.com/hcengineering/platform.git app

create a Dockerfile
```
FROM node:20.11.0

RUN npm install -g @microsoft/rush

WORKDIR /app

COPY . .

RUN sh ./scripts/presetup-rush.sh

RUN sh ./scripts/build.sh

RUN sh ./scripts/create-workspace.sh

EXPOSE 3000

CMD ["rush", "docker:up"]
```
### Expected behaviour
The app to be up and running

### Actual behaviour
=> ERROR [5/7] RUN sh ./scripts/presetup-rush.sh
> [5/7] RUN sh ./scripts/presetup-rush.sh:
0.935 sh: 0: cannot open ./scripts/presetup-rush.sh: No such file
------
Dockerfile:49
--------------------
47 |
48 | # Exécuter les scripts de pré-configuration et d'installation
49 | >>> RUN sh ./scripts/presetup-rush.sh
50 |
51 | # Exécuter les commandes rush nécessaires
--------------------
ERROR: failed to solve: process "/bin/sh -c sh ./scripts/presetup-rush.sh" did not complete successfully: exit code: 2

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Dockerfile and the repository's scripts directory; verify whether scripts/presetup-rush.sh is present and how the documented build flow invokes it. Reproduce the failing RUN step, then confirm the container completes setup and reaches the expected running app on port 3000.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, node.js, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.