From a8159641659ab630c7497c65d4b66c14a6484539 Mon Sep 17 00:00:00 2001 From: Monk X Date: Wed, 11 Oct 2023 16:12:16 +0000 Subject: [PATCH] Monk X: Add Monk Kit on main branch --- Dockerfile | 8 ++++++++ MANIFEST | 2 ++ pizzatime.yaml | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 Dockerfile create mode 100644 MANIFEST create mode 100644 pizzatime.yaml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..31e7ba1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:14 +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . +RUN npm run build +EXPOSE 5000 +CMD [ "npx", "serve", "-s", "build" ] \ No newline at end of file diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..b228889 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,2 @@ +REPO pizzatime +LOAD pizzatime.yaml \ No newline at end of file diff --git a/pizzatime.yaml b/pizzatime.yaml new file mode 100644 index 0000000..06ef107 --- /dev/null +++ b/pizzatime.yaml @@ -0,0 +1,20 @@ +namespace: pizzatime +pizzatime: + defines: runnable + metadata: + name: pizzatime + description: >- + A food delivery application that allows user to order food from a variety + of categories. + icon: https://emojiapi.dev/api/v1/pizza.svg + containers: + pizzatime: + build: . + services: + application: + container: pizzatime + port: 5000 + host-port: 5000 + publish: false + protocol: TCP + description: main application port