Files

10 lines
419 B
Docker

# Huurbaken - static site served with nginx.
# Stage 1 fetches the site from the public Gitea repo (Coolify builds this
# app from the stored Dockerfile only, so the files are pulled in here).
FROM alpine/git AS fetch
RUN git clone --depth 1 --branch main https://git.auraajenticai.cloud/khondokar/huurbaken.git /site
# Stage 2 serves the site.
FROM nginx:alpine
COPY --from=fetch /site /usr/share/nginx/html
EXPOSE 80