Page MenuHomePhabricator

D6355.id21725.diff
No OneTemporary

D6355.id21725.diff

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

Mime Type
text/plain
Expires
Thu, Dec 19, 1:46 PM (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2677319
Default Alt Text
D6355.id21725.diff (1 KB)

Event Timeline