Skip to content

Commit 9c3c815

Browse files
committed
dockerfile
1 parent fca36fa commit 9c3c815

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lambdas/resize/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:3
2+
3+
RUN apt update
4+
RUN apt-get install zip
5+
6+
RUN mkdir package
7+
8+
COPY . .
9+
10+
RUN pip install -r requirements.txt --target package
11+
12+
CMD ["zip", "-r", "lambda.zip", "package"]

0 commit comments

Comments
 (0)