@things-factory/operato-board 9.2.5 → 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,31 +1,14 @@
1
- # Use an official ubuntu image
2
- 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
3
6
 
4
- # Set the working directory to /app
5
7
  WORKDIR /app
6
8
 
7
- # copy application & configuration files
8
9
  COPY . .
9
10
 
10
- # run node install command
11
- RUN yarn install
11
+ RUN yarn install --production && yarn cache clean && rm -rf /usr/local/share/.cache
12
12
 
13
- # Install required packages (necessary for locale setup)
14
- RUN apt-get update && apt-get install -y locales tzdata
15
-
16
- # Generate the en_US.UTF-8 locale
17
- RUN locale-gen en_US.UTF-8
18
-
19
- # Set environment variables for locale and timezone
20
- ENV LANG=en_US.UTF-8
21
- ENV LANGUAGE=en_US:en
22
- ENV LC_ALL=en_US.UTF-8
23
- ENV TZ=UTC
24
-
25
- # Set timezone to UTC (using tzdata)
26
- RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo "UTC" > /etc/timezone
27
-
28
- # Make port 3000 available to the world outside this container
29
13
  EXPOSE 3000
30
-
31
- CMD [ "yarn", "run", "serve" ]
14
+ CMD ["yarn", "run", "serve"]
package/_index.html CHANGED
@@ -63,8 +63,7 @@
63
63
  <noscript> Please enable JavaScript to view this website. </noscript>
64
64
  <!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
65
65
  <script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
66
- <script src="/node_modules/web-animations-js/web-animations-next.min.js"></script>
67
- <script src="/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
66
+
68
67
  <!-- Built with love using PWA Starter Kit -->
69
68
  </body>
70
69
  </html>