15 lines
236 B
Docker
15 lines
236 B
Docker
FROM debian:stable-slim as build
|
|
|
|
RUN apt update -y && \
|
|
apt install -y hugo
|
|
|
|
WORKDIR /app
|
|
|
|
COPY inc .
|
|
|
|
RUN hugo -b "https://public.audio-lab.org/beireapi/"
|
|
|
|
FROM httpd:latest
|
|
|
|
COPY --from=build /app/public/ /usr/local/apache2/htdocs/
|