11 lines
217 B
Docker
11 lines
217 B
Docker
FROM python:3.11.4-bookworm as builder
|
|
WORKDIR /srv
|
|
COPY . .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN pip install .
|
|
RUN ./create_packs.sh
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=0 /srv/web /usr/share/nginx/html
|
|
|