Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions extenginx/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ ARG NGINX_RUNTIME_SNIPPETS=0
FROM alpine:3.19 AS build

RUN apk update && apk upgrade && apk add \
envsubst
envsubst \
;

COPY nginx.conf.template .

Expand All @@ -19,7 +20,8 @@ FROM alpine:3.19 AS nginx-runtime-0

RUN apk update && apk upgrade && apk add \
nginx \
nginx-mod-mail
nginx-mod-mail \
;


RUN mkdir -p \
Expand All @@ -30,7 +32,8 @@ RUN mkdir -p \
/etc/nginx/include.d/server_http \
/etc/nginx/include.d/mail \
/etc/nginx/include.d/server_smtps \
/etc/nginx/include.d/server_pop3s
/etc/nginx/include.d/server_pop3s \
;

COPY --from=NGINX_SNIPPET_SOURCE . /etc/nginx/include.d/

Expand Down
9 changes: 6 additions & 3 deletions orbit/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ RUN apk update && apk upgrade && apk add \
py3-pip \
sqlite \
build-base \
libffi-dev
libffi-dev \
;

COPY requirements.txt /requirements.txt
RUN python3 -m venv /radius-venv && \
source /radius-venv/bin/activate && \
pip install -r requirements.txt
pip install -r requirements.txt && \
:

COPY . /orbit
WORKDIR /orbit
Expand All @@ -21,7 +23,8 @@ FROM alpine:3.19 AS orbit

RUN apk update && apk upgrade && apk add \
python3 \
cgit
cgit \
;

COPY --from=build /orbit /orbit
COPY --from=build /radius-venv /radius-venv
Expand Down