Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3489419
D6355.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6355.diff
View Options
diff --git a/services/electron-update-server/Dockerfile b/services/electron-update-server/Dockerfile
new file mode 100644
--- /dev/null
+++ b/services/electron-update-server/Dockerfile
@@ -0,0 +1,23 @@
+FROM node:16.18.0-bullseye
+
+WORKDIR /home/comm/
+
+COPY package.json yarn.lock postinstall.sh ./
+COPY patches patches/
+
+COPY package.json yarn.lock postinstall.sh ./
+COPY lib/package.json lib/.flowconfig lib/
+COPY native/package.json native/.flowconfig native/
+COPY native/expo-modules/android-lifecycle/package.json \
+ native/expo-modules/android-lifecycle/
+COPY services/electron-update-server/package.json \
+ services/electron-update-server/
+
+RUN yarn install --frozen-lockfile
+
+COPY services/electron-update-server services/electron-update-server/
+
+EXPOSE 80
+
+WORKDIR /home/comm/services/electron-update-server
+CMD ["yarn", "run", "prod"]
diff --git a/services/electron-update-server/docker-compose.yml b/services/electron-update-server/docker-compose.yml
new file mode 100644
--- /dev/null
+++ b/services/electron-update-server/docker-compose.yml
@@ -0,0 +1,6 @@
+services:
+ electron-update-server:
+ image: electron-update-server
+ build:
+ context: ../..
+ dockerfile: services/electron-update-server/Dockerfile
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 12:24 PM (18 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2677319
Default Alt Text
D6355.diff (1 KB)
Attached To
Mode
D6355: [services] [electron update server] Add a Dockerfile
Attached
Detach File
Event Timeline
Log In to Comment