Archived
0
0
Fork 0

chore: added docker support

This commit is contained in:
Daryl Ronningen 2021-09-02 19:50:04 -07:00
parent b2c6a27e98
commit eb7ce93350
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
3 changed files with 23 additions and 0 deletions

9
docker/alpine/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM alpine:3.13.6
WORKDIR /app
RUN apk add libgcc libstdc++
COPY CSharpBot/bin/x64/Release/net6.0/publish/linux-x64/CSharpBot .
ENTRYPOINT [ "./CSharpBot" ]

View file

@ -0,0 +1,7 @@
FROM debian:11.0-slim
WORKDIR /app
COPY CSharpBot/bin/x64/Release/net6.0/publish/linux-x64/CSharpBot .
ENTRYPOINT [ "./CSharpBot" ]

7
docker/debian/Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM debian:11.0
WORKDIR /app
COPY CSharpBot/bin/x64/Release/net6.0/publish/linux-x64/CSharpBot .
ENTRYPOINT [ "./CSharpBot" ]