File size: 503 Bytes
fe1089d
 
de2c597
bf15c20
 
de2c597
 
8dcb222
de2c597
 
 
bf15c20
1
2
3
4
5
6
7
8
9
10
11
12
13
# Dockerfile to create base image with all needed dependencies. for the quick dockerfile build of the webapp
# because all dependencies are already installed, the next webapp build using this base image is much quicker

# complete build based on clean python (slower)
FROM python:3.11.6

# install dependencies based on requirements
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade -r requirements.txt

# build and run commands
## docker build -t thesis-base:2.0.0 -f Dockerfile-Base .