aswi2021jmsd-gitlab4/docker/Dockerfile @ 2640ea75
1 |
FROM python:3.8.5-slim-buster |
---|---|
2 |
|
3 |
WORKDIR /usr/src/app |
4 |
|
5 |
# copy application dependency list
|
6 |
COPY requirements.txt ./ |
7 |
|
8 |
# install application dependencies
|
9 |
RUN pip install --no-cache-dir -r requirements.txt |
10 |
|
11 |
# copy the whole application
|
12 |
COPY . . |
13 |
|
14 |
# run the application
|
15 |
CMD [ "python", "./app.py" ] |