2023-08-07 19:26:50 -04:00
|
|
|
FROM python:3.11.4-bookworm as builder
|
|
|
|
WORKDIR /srv
|
|
|
|
COPY . .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
RUN pip install .
|
2024-09-04 21:42:58 -04:00
|
|
|
RUN --mount=type=secret,id=config_json ./create_packs.sh
|
2023-08-07 19:26:50 -04:00
|
|
|
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=0 /srv/web /usr/share/nginx/html
|
|
|
|
|