more Dockerfile changes

pull/106/head
Jeff Culverhouse 12 months ago
parent b25d86a466
commit e531fb0419

@ -1,11 +1,16 @@
FROM python:3.9-alpine AS base FROM python:3.9-alpine AS base
FROM base AS builder FROM base AS builder
RUN python3 -m ensurepip
# Upgrade pip and setuptools
RUN pip3 install --upgrade pip setuptools
RUN mkdir /install RUN mkdir /install
WORKDIR /install WORKDIR /install
COPY requirements.txt / COPY requirements.txt /
RUN pip install --no-warn-script-location --prefix=/install -r /requirements.txt RUN pip3 install --no-warn-script-location --prefix=/install -r /requirements.txt
FROM base FROM base
STOPSIGNAL SIGINT STOPSIGNAL SIGINT

Loading…
Cancel
Save