forked from swablab/website
12 lines
No EOL
365 B
Docker
12 lines
No EOL
365 B
Docker
FROM docker.io/denoland/deno AS build
|
|
COPY . .
|
|
ENV ASTRO_TELEMETRY_DISABLED=true
|
|
RUN deno task install
|
|
RUN deno task build
|
|
|
|
FROM git.swablab.de/swablab/documents AS documents
|
|
|
|
FROM docker.io/nginxinc/nginx-unprivileged
|
|
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 |