generated from nathanwoodburn/python-webserver-template
fix: Add openssl to dockerfile
All checks were successful
Build Docker / BuildImage (push) Successful in 56s
All checks were successful
Build Docker / BuildImage (push) Successful in 56s
This commit is contained in:
@@ -2,6 +2,9 @@ FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install openssl
|
||||||
|
RUN apk add --no-cache openssl
|
||||||
|
|
||||||
COPY requirements.txt /app
|
COPY requirements.txt /app
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user