@things-factory/operato-ecs 8.0.0-alpha.3 → 8.0.0-alpha.30
Sign up to get free protection for your applications and to get access to all the features.
- package/Dockerfile +21 -5
- package/assets/manifest/apple-1024.png +0 -0
- package/assets/manifest/apple-120.png +0 -0
- package/assets/manifest/apple-152.png +0 -0
- package/assets/manifest/apple-167.png +0 -0
- package/assets/manifest/apple-180.png +0 -0
- package/assets/manifest/apple-touch-icon.png +0 -0
- package/assets/manifest/chrome-splashscreen-icon-384x384.png +0 -0
- package/assets/manifest/chrome-touch-icon-192x192.png +0 -0
- package/assets/manifest/icon-128x128.png +0 -0
- package/assets/manifest/icon-192x192.png +0 -0
- package/assets/manifest/icon-512x512.png +0 -0
- package/assets/manifest/icon-72x72.png +0 -0
- package/assets/manifest/icon-96x96.png +0 -0
- package/assets/manifest/ms-icon-144x144.png +0 -0
- package/assets/manifest/ms-touch-icon-144x144-precomposed.png +0 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/index.d.ts +0 -1
- package/dist-server/index.js +0 -4
- package/dist-server/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/installer/config.production.js +1 -1
- package/installer/docker-compose-test.yml +19 -0
- package/installer/docker-compose.yml +10 -1
- package/package.json +32 -31
- package/dist-server/middlewares/index.d.ts +0 -1
- package/dist-server/middlewares/index.js +0 -5
- package/dist-server/middlewares/index.js.map +0 -1
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
|
-
#
|
7
|
+
# Copy application and configuration files to the working directory
|
8
8
|
COPY . .
|
9
9
|
|
10
|
-
#
|
10
|
+
# Run the yarn install command to install dependencies
|
11
11
|
RUN yarn install
|
12
12
|
|
13
|
-
#
|
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
|
-
|
31
|
+
# Command to run the application using yarn
|
32
|
+
CMD [ "yarn", "run", "serve" ]
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|