Skip to content

Commit d16f2c6

Browse files
committed
feat: install dependencies from requirements.txt
1 parent 2610411 commit d16f2c6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ FROM python:3.10-alpine
44
# Define your working directory
55
WORKDIR /
66

7-
# Add your handler
7+
# Add your src
88
ADD src/start.sh src/rp_handler.py requirements.txt ./
99
RUN chmod +x /start.sh
1010

11-
# Start the container
11+
# Intall dependencies
12+
RUN pip install -r requirements.txt
13+
14+
# Run the start script
1215
CMD /start.sh

0 commit comments

Comments
 (0)