@things-factory/operato-board 7.1.11 → 7.1.12-alpha.0

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
@@ -10,6 +10,21 @@ COPY . .
10
10
  # run node install command
11
11
  RUN yarn install
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
+
13
28
  # Make port 3000 available to the world outside this container
14
29
  EXPOSE 3000
15
30
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file