Skip to content

Commit 6d374eb

Browse files
committed
added base dockerfile
1 parent d056dae commit 6d374eb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#base image
2+
FROM python:3.8.6-slim-buster
3+
4+
ENV PYTHONDONTWRITEBYTECODE 1
5+
ENV PYTHONUNBUFFERED 1
6+
7+
# working directory
8+
WORKDIR /app
9+
10+
##copy requirements
11+
COPY requirements.txt /tmp/requirements.txt
12+
#install requirements
13+
RUN pip install -r /tmp/requirements.txt
14+
#copy everythings
15+
COPY . .

0 commit comments

Comments
 (0)