1
0
Fork 0
forked from swablab/website
website/Containerfile
2025-02-23 00:12:01 +00:00

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