11 lines
No EOL
338 B
Docker
11 lines
No EOL
338 B
Docker
FROM docker.io/denoland/deno AS build
|
|
COPY . .
|
|
RUN deno task install
|
|
RUN deno task build
|
|
|
|
FROM ghcr.io/swablab/documents:latest AS documents
|
|
|
|
FROM docker.io/nginxinc/nginx-unprivileged:latest
|
|
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build ./dist /usr/share/nginx/html
|
|
COPY --from=documents / /usr/share/nginx/html/docs |