summaryrefslogtreecommitdiff
path: root/api/Dockerfile
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-04-25 16:01:14 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-04-25 16:01:14 +0200
commitcd0b45627f0d8da8c8dc4edde223f3c36e9bcfbf (patch)
tree6ae1681630a0e270c23804e6dbb3bd414ebe5d6e /api/Dockerfile
parent128a1db017545597a5c035b7960eb3fd36b5f987 (diff)
build: Migrate to flat project structure
This change updates the project structure to become flattened. Previously, the simulator, frontend and API each lived into their own directory. With this change, all modules of the project live in the top-level directory of the repository. This should improve discoverability of modules of the project.
Diffstat (limited to 'api/Dockerfile')
-rw-r--r--api/Dockerfile17
1 files changed, 0 insertions, 17 deletions
diff --git a/api/Dockerfile b/api/Dockerfile
deleted file mode 100644
index 49702c90..00000000
--- a/api/Dockerfile
+++ /dev/null
@@ -1,17 +0,0 @@
-FROM python:3.8
-MAINTAINER OpenDC Maintainers <opendc@atlarge-research.com>
-
-# Ensure the STDOUT is not buffered by Python so that our logs become visible
-# See https://stackoverflow.com/q/29663459/10213073
-ENV PYTHONUNBUFFERED 1
-
-# Copy OpenDC directory
-COPY ./ /opendc
-
-# Fetch web server dependencies
-RUN pip install -r /opendc/requirements.txt
-
-# Set working directory
-WORKDIR /opendc
-
-CMD ["python3", "main.py"]