TeleTok/Dockerfile
Chris Plaatjes 8ffd920007
All checks were successful
continuous-integration/drone/push Build is passing
Updated CMD command
2023-02-14 15:29:55 -05:00

14 lines
308 B
Docker

#Builds the bot from source
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-task
COPY . /build
RUN cd /build && dotnet publish
# Actually runs the bot
FROM mcr.microsoft.com/dotnet/runtime:6.0
WORKDIR /app/teletok
COPY --from=build-task /build/bin/Debug/net6.0/publish/* /app/teletok/
CMD [ "./TeleTok" ]