Update Dockerfile, add Build for Images, change docker-compose to use images

This commit is contained in:
Jan Speller 2022-05-04 23:42:44 +02:00
parent 47c75772d1
commit 20da06ab91
5 changed files with 29 additions and 40 deletions

View file

@ -1,13 +0,0 @@
FROM alpine:3.10 AS boswatch
ARG BW_VERSION=develop
RUN apk add git && \
git clone --depth 1 --branch ${BW_VERSION} https://github.com/BOSWatch/BW3-Core.git /opt/boswatch
FROM python:3.6-alpine AS runner
LABEL maintainer="bastian@schroll-software.de"
RUN pip3 install pyyaml
RUN mkdir /log/
COPY --from=boswatch /opt/boswatch/ /opt/boswatch/
COPY ./config/* /opt/boswatch/config/