Skip to content

Commit fa769db

Browse files
docker updated
1 parent c8055a2 commit fa769db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
FROM python:3.10-slim
22

3+
# update packages, install git and remove cache
4+
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
5+
36
WORKDIR /app
47

58
COPY requirements.txt .
6-
79
RUN pip install --no-cache-dir -r requirements.txt
810

911
COPY . .
1012

11-
CMD ["python"]
13+
ENTRYPOINT ["python", "main.py"]

0 commit comments

Comments
 (0)