From 48e92e7ef849870af9cade4b6daa9e068f0d6f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=20=E2=80=98TK=E2=80=99=20Taylor?= Date: Sun, 24 May 2020 12:47:07 +0100 Subject: [PATCH] Add docker --- Dockerfile | 9 +++++++++ docker-compose.yml | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b28016c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:12-alpine3.9 + +WORKDIR /app + +ADD . /app + +RUN yarn + +CMD yarn start \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..97fd9d6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +version: "2" +services: + zeit_ip_manager: + build: + context: . + dockerfile: ./Dockerfile \ No newline at end of file