3688a7dd00
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-BUSYBOX-1089800 - https://snyk.io/vuln/SNYK-ALPINE313-BUSYBOX-1089800 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1089239 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1089239 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1089240
17 lines
405 B
Docker
17 lines
405 B
Docker
FROM python:3.9.4-alpine as base
|
|
|
|
FROM base as builder
|
|
RUN apk --no-cache add --update alpine-sdk libffi libffi-dev musl-dev openssl-dev
|
|
|
|
RUN mkdir /install
|
|
WORKDIR /install
|
|
|
|
COPY requirements.txt /requirements.txt
|
|
RUN pip3 install -r /requirements.txt
|
|
|
|
FROM base
|
|
|
|
COPY --from=builder /install /usr/local
|
|
COPY __init__.py /app/walkoff_app_sdk/__init__.py
|
|
COPY app_base.py /app/walkoff_app_sdk/app_base.py
|