mirror of
https://github.com/Pagwin-Fedora/website.git
synced 2025-07-18 03:15:41 +00:00
saved all the relevent docs into a window, can't continue work now because I need to rest before I go back to driving, need to setup a conditional so I can do a docker build without having the comments section enabled though maybe have the arg be the name nginx should hit up for the comments instead of 0 v 1 for on v off
12 lines
287 B
Docker
12 lines
287 B
Docker
FROM alpine:3.18 as build
|
|
# making my own image for hugo because there doesn't seem to be an official one in repo, lazy so we're going with alpine
|
|
RUN ["apk", "update"]
|
|
RUN ["apk", "add hugo"]
|
|
ADD . /root/
|
|
WORKDIR /root
|
|
ARG WITH_COMMENTS=0
|
|
RUN ["hugo", "--minify"]
|
|
|
|
FROM nginx:1.25
|
|
|
|
RUN
|