Skip to content

Commit de3dc56

Browse files
committed
update to 3.8 and upgrade pip
1 parent 12db680 commit de3dc56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

template/python3-http/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM openfaas/of-watchdog:0.7.7 as watchdog
2-
FROM python:3.7-alpine
2+
FROM python:3.8-alpine
33

44
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
55
RUN chmod +x /usr/bin/fwatchdog
@@ -22,6 +22,7 @@ WORKDIR /home/app/
2222
COPY index.py .
2323
COPY requirements.txt .
2424
USER root
25+
run pip install --upgrade pip
2526
RUN pip install -r requirements.txt
2627

2728
# Build the function directory and install any user-specified components

0 commit comments

Comments
 (0)