@things-factory/operato-board 10.0.0-beta.1 → 10.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -1,28 +1,14 @@
1
- # v10 모노레포 Dockerfile — 로컬 빌드 아티팩트 사용
2
- # 사전 조건: 로컬에서 yarn build + build:app 완료
3
- # 빌드 컨텍스트: ~/Documents/GitHub/
4
- # 빌드: cd ~/Documents/GitHub && docker compose build operato-board
5
- FROM hatiolab/operato-env:latest
1
+ # operato-board v10 Docker image
2
+ # Build context: packages/operato-board/ (single package)
3
+ # 사전 조건: 로컬에서 yarn build && yarn workspace @things-factory/operato-board build:app 완료
4
+ # Usage: cd things-factory/packages/operato-board && docker build -t hatiolab/operato-board:10.0.0-beta.1 .
5
+ FROM hatiolab/operato-env:22.22
6
6
 
7
- WORKDIR /workspace
7
+ WORKDIR /app
8
8
 
9
- # 외부 의존 레포 복사 (로컬에서 빌드된 dist/ 포함)
10
- COPY things-scene/hatiolab-things-scene-10.0.0-beta.1.tgz ./things-scene.tgz
11
- COPY operato/ operato/
12
- COPY operato-scene/ operato-scene/
9
+ COPY . .
13
10
 
14
- # things-factory 모노레포 복사 (dist-server/, dist-client/, dist-app/ 포함)
15
- COPY things-factory/package.json things-factory/yarn.lock things-factory/lerna.json things-factory/babel.config.js ./things-factory/
16
- COPY things-factory/packages/ things-factory/packages/
11
+ RUN yarn install --production && yarn cache clean && rm -rf /usr/local/share/.cache
17
12
 
18
- WORKDIR /workspace/things-factory
19
-
20
- # Docker 환경에서는 link:../things-scene → tarball 참조로 치환
21
- RUN sed -i 's|"link:../things-scene"|"file:../things-scene.tgz"|' package.json
22
-
23
- # 런타임 의존성 설치 (네이티브 모듈은 linux용으로 빌드)
24
- RUN yarn install --frozen-lockfile || yarn install
25
-
26
- WORKDIR /workspace/things-factory/packages/operato-board
27
13
  EXPOSE 3000
28
14
  CMD ["yarn", "run", "serve"]