move Git repository kontor-docker to directory bottle-docker

This commit is contained in:
Thomas Peetz
2025-03-29 19:05:31 +01:00
parent 45971518ee
commit a5cdf8867a
29 changed files with 1681 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# set base image (host OS)
FROM python:3.8
# set the working directory in the container
WORKDIR /code
# copy the dependencies file to the working directory
COPY requirements.txt /code/
# copy the content of the local src directory to the working directory
COPY src/ /code/
# install dependencies
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
EXPOSE 9000
# command to run on container start
CMD [ "python", "./kontor.py" ]