mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-21 06:03:50 +00:00
add dockerfile for server, add docker-compose, change dockerfile for client
This commit is contained in:
parent
fc39b15d54
commit
ea8fd94926
4 changed files with 28 additions and 1 deletions
13
docker/dockerfiles/Server.Dockerfile
Normal file
13
docker/dockerfiles/Server.Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue