@things-factory/operato-ecs 8.0.0-alpha.7 → 8.0.0-alpha.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/Dockerfile +21 -5
  2. package/package.json +30 -30
package/Dockerfile CHANGED
@@ -1,16 +1,32 @@
1
- # Use an official ubuntu image
1
+ # Use an official ubuntu-based image
2
2
  FROM hatiolab/operato-env:latest
3
3
 
4
4
  # Set the working directory to /app
5
5
  WORKDIR /app
6
6
 
7
- # copy application & configuration files
7
+ # Copy application and configuration files to the working directory
8
8
  COPY . .
9
9
 
10
- # run node install command
10
+ # Run the yarn install command to install dependencies
11
11
  RUN yarn install
12
12
 
13
- # Make port 3000 available to the world outside this container
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
+ # Expose port 3000 to allow access to the application outside the container
14
29
  EXPOSE 3000
15
30
 
16
- CMD [ "yarn", "run", "serve" ]
31
+ # Command to run the application using yarn
32
+ CMD [ "yarn", "run", "serve" ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "8.0.0-alpha.7",
3
+ "version": "8.0.0-alpha.9",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -64,37 +64,37 @@
64
64
  "@operato/scene-table": "^8.0.0-alpha",
65
65
  "@operato/scene-timer": "^8.0.0-alpha",
66
66
  "@operato/scene-wellstek-gantt": "^8.0.0-alpha",
67
- "@things-factory/api": "^8.0.0-alpha.2",
68
- "@things-factory/apptool-ui": "^8.0.0-alpha.4",
69
- "@things-factory/auth-ui": "^8.0.0-alpha.2",
70
- "@things-factory/board-service": "^8.0.0-alpha.7",
71
- "@things-factory/board-ui": "^8.0.0-alpha.2",
72
- "@things-factory/context-ui": "^8.0.0-alpha.2",
73
- "@things-factory/dashboard": "^8.0.0-alpha.7",
74
- "@things-factory/evaluation": "^8.0.0-alpha.2",
75
- "@things-factory/export-ui": "^8.0.0-alpha.2",
76
- "@things-factory/help": "^8.0.0-alpha.2",
77
- "@things-factory/i18n-base": "^8.0.0-alpha.2",
78
- "@things-factory/integration-email": "^8.0.0-alpha.2",
79
- "@things-factory/integration-headless": "^8.0.0-alpha.7",
80
- "@things-factory/integration-influxdb": "^8.0.0-alpha.2",
81
- "@things-factory/integration-melsec": "^8.0.0-alpha.2",
82
- "@things-factory/integration-modbus": "^8.0.0-alpha.2",
83
- "@things-factory/integration-opc": "^8.0.0-alpha.2",
84
- "@things-factory/integration-ui": "^8.0.0-alpha.2",
85
- "@things-factory/lite-menu": "^8.0.0-alpha.7",
86
- "@things-factory/more-ui": "^8.0.0-alpha.2",
87
- "@things-factory/notification": "^8.0.0-alpha.5",
88
- "@things-factory/oauth2-client": "^8.0.0-alpha.2",
89
- "@things-factory/print-ui": "^8.0.0-alpha.2",
90
- "@things-factory/resource-ui": "^8.0.0-alpha.2",
91
- "@things-factory/setting-base": "^8.0.0-alpha.2",
92
- "@things-factory/setting-ui": "^8.0.0-alpha.2",
93
- "@things-factory/shell": "^8.0.0-alpha.2",
94
- "@things-factory/system": "^8.0.0-alpha.5"
67
+ "@things-factory/api": "^8.0.0-alpha.8",
68
+ "@things-factory/apptool-ui": "^8.0.0-alpha.8",
69
+ "@things-factory/auth-ui": "^8.0.0-alpha.8",
70
+ "@things-factory/board-service": "^8.0.0-alpha.8",
71
+ "@things-factory/board-ui": "^8.0.0-alpha.9",
72
+ "@things-factory/context-ui": "^8.0.0-alpha.8",
73
+ "@things-factory/dashboard": "^8.0.0-alpha.9",
74
+ "@things-factory/evaluation": "^8.0.0-alpha.8",
75
+ "@things-factory/export-ui": "^8.0.0-alpha.8",
76
+ "@things-factory/help": "^8.0.0-alpha.8",
77
+ "@things-factory/i18n-base": "^8.0.0-alpha.8",
78
+ "@things-factory/integration-email": "^8.0.0-alpha.8",
79
+ "@things-factory/integration-headless": "^8.0.0-alpha.8",
80
+ "@things-factory/integration-influxdb": "^8.0.0-alpha.8",
81
+ "@things-factory/integration-melsec": "^8.0.0-alpha.8",
82
+ "@things-factory/integration-modbus": "^8.0.0-alpha.8",
83
+ "@things-factory/integration-opc": "^8.0.0-alpha.8",
84
+ "@things-factory/integration-ui": "^8.0.0-alpha.8",
85
+ "@things-factory/lite-menu": "^8.0.0-alpha.9",
86
+ "@things-factory/more-ui": "^8.0.0-alpha.8",
87
+ "@things-factory/notification": "^8.0.0-alpha.8",
88
+ "@things-factory/oauth2-client": "^8.0.0-alpha.8",
89
+ "@things-factory/print-ui": "^8.0.0-alpha.8",
90
+ "@things-factory/resource-ui": "^8.0.0-alpha.8",
91
+ "@things-factory/setting-base": "^8.0.0-alpha.8",
92
+ "@things-factory/setting-ui": "^8.0.0-alpha.8",
93
+ "@things-factory/shell": "^8.0.0-alpha.8",
94
+ "@things-factory/system": "^8.0.0-alpha.9"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@things-factory/builder": "^8.0.0-alpha.0"
98
98
  },
99
- "gitHead": "33ae14f862f5f17ad0d98dde943061a507cda7f1"
99
+ "gitHead": "4addaa10e75135d3ef6b6340102f7664743a5ac2"
100
100
  }