@things-factory/operato-board 10.0.0-beta.1 → 10.0.0-beta.11
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 +8 -22
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/docker-compose.local.yml +13 -0
- package/package.json +38 -38
package/Dockerfile
CHANGED
|
@@ -1,28 +1,14 @@
|
|
|
1
|
-
# v10
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
FROM hatiolab/operato-env:
|
|
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 /
|
|
7
|
+
WORKDIR /app
|
|
8
8
|
|
|
9
|
-
|
|
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
|
-
|
|
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"]
|