Add the docker file
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
30005290b8
commit
0a7bbe1a80
|
@ -0,0 +1,14 @@
|
|||
FROM debian:12-slim
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN apt-get -y update && apt-get install -y hugo && hugo
|
||||
|
||||
|
||||
FROM busybox
|
||||
|
||||
COPY --from=0 /app/public /app
|
||||
|
||||
WORKDIR /app
|
||||
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
|
Loading…
Reference in New Issue