move Git repository kontor-docker to directory bottle-docker
This commit is contained in:
@@ -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" ]
|
||||
Reference in New Issue
Block a user