wanderer
41099802c2
All checks were successful
continuous-integration/drone/push Build is passing
refactor: .drone.yml + don't run on {push,PR} add: docker-compose-build pipeline * general refactoring of .drone.yml fix: incorrect dependency * add: don't run img pull on PR refactor: update .drone.yml logic chore: adding docker-compose.yml * it's in fact going to be docker-compose deployment add: Dockerfile + update baseUrl * also enhance footer partial that cries when a ref goes missing (such as when a branch is merged) Co-authored-by: surtur <a_mirre@utb.cz> Reviewed-on: #18 Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml> Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
16 lines
282 B
Docker
16 lines
282 B
Docker
FROM immawanderer/fedora-hugo:latest
|
|
RUN mkdir -pv /homepage
|
|
COPY . /homepage
|
|
|
|
WORKDIR /homepage
|
|
|
|
RUN git submodule init \
|
|
&& git submodule update --recursive \
|
|
&& hugo version
|
|
RUN hugo --minify --gc=true
|
|
|
|
WORKDIR /
|
|
|
|
FROM nginx
|
|
COPY --from=0 /homepage/public/ /usr/share/nginx/html
|