Added docker stuffs

This commit is contained in:
Pünkösd Marcell 2020-11-27 04:01:50 +01:00
parent 30ae78c24e
commit 7ed5a93260
2 changed files with 13 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
README.md

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM alpine:latest AS build
ADD . /build/
WORKDIR /build
RUN apk update && apk add make cmake gcc musl-dev && cmake . && make -j 8
FROM alpine:latest
COPY --from=build /build/caff_previewer /usr/local/bin/
CMD "/usr/local/bin/caff_previewer"