aboutsummaryrefslogtreecommitdiff
path: root/pending/Dockerfile
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-12-19 02:38:15 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-12-19 02:38:15 +0100
commitb7883de47e05d0b52ea4e04440f4894a0a9032a1 (patch)
treefaee792c03a4bd456fb90588eee9ca24c88bee6c /pending/Dockerfile
parent8e8a381c57298e1caa992373d1081a64d5924de6 (diff)
server error messages improvement
Diffstat (limited to 'pending/Dockerfile')
-rw-r--r--pending/Dockerfile25
1 files changed, 0 insertions, 25 deletions
diff --git a/pending/Dockerfile b/pending/Dockerfile
deleted file mode 100644
index 0e093c5..0000000
--- a/pending/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"]