From 0702d13263bf501c1db074ce1544e60b95161210 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 7 Nov 2021 15:52:44 +0100 Subject: major rewrite --- Dockerfile | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0e093c5..0000000 --- a/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM python:3.8-buster AS base - - -FROM base AS build - -RUN apt-get update \ - && apt-get install -q -y nodejs yarnpkg \ - && ln -s /usr/bin/yarnpkg /usr/bin/yarn - -COPY . /opcut - -RUN cd /opcut \ - && pip install -r requirements.txt \ - && doit - - -FROM base AS run - -COPY --from=build /opcut/dist /opcut/dist - -RUN pip install /opcut/dist/* - -EXPOSE 80 - -CMD ["opcut", "server", "--addr", "http://0.0.0.0:80"] -- cgit v1.2.3-70-g09d2