Skip to content

Commit 6e53d96

Browse files
Add .dockerignore and a step to create virtual environment in Dockerfile
1 parent ec7d3d0 commit 6e53d96

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.dockerignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.git/
2+
__pycache__/
3+
*.pyc
4+
.env
5+
.vscode/
6+
.DS_Store
7+
.dockerignore
8+
.gitignore
9+
.venv/

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM python:3.14-slim
22
WORKDIR /app
3+
RUN python -m venv .venv
34
COPY requirements.txt .
45
RUN pip install -r requirements.txt
56
COPY . .

0 commit comments

Comments
 (0)