test
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s

This commit is contained in:
mcbtaguiad
2026-01-19 21:31:03 +08:00
commit ec77f4121f
2499 changed files with 1106308 additions and 0 deletions

29
Dockerfile Executable file
View File

@@ -0,0 +1,29 @@
FROM docker.io/ubuntu:22.04 as builder
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y hugo
WORKDIR /site
COPY ./app/ .
RUN hugo
FROM docker.io/nginx:1.25.5-bookworm
WORKDIR /app
COPY --from=builder /site/public/ .
COPY ./nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
# FROM docker.io/httpd:latest
# COPY --from=builder /srv/jekyll/_site/ /usr/local/apache2/htdocs/
# COPY --from=builder /site/public/* /usr/local/apache2/htdocs/