Skip to content

Commit e4b279d

Browse files
committed
Docker copy all
1 parent 71ea716 commit e4b279d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ FROM python:3.9-slim
1010

1111
WORKDIR /app
1212
COPY --from=builder /usr/local /usr/local
13-
COPY app.py requirements.txt ./
14-
COPY lib/ ./lib/
15-
COPY static/ ./static/
16-
COPY templates/ ./templates/
13+
# Copy everything at once
14+
COPY . .
1715

1816
ENV PORT=5000
1917
ENV PYTHONPATH=/app

0 commit comments

Comments
 (0)