-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 785 Bytes
/
Dockerfile
File metadata and controls
21 lines (17 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# syntax=docker/dockerfile:1
FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine
LABEL description="Docker image version of VoiceCraft"
LABEL maintainer="Miniontoby"
LABEL org.opencontainers.image.source=https://github.com/AvionBlock/VoiceCraft-Docker
LABEL org.opencontainers.image.description="Docker image version of VoiceCraft"
LABEL org.opencontainers.image.licenses=MIT
LABEL org.opencontainers.image.authors="Miniontoby"
RUN apk add --no-cache --update curl unzip
WORKDIR /app
RUN curl -Lo VoiceCraft.Server.Linux.x64.zip https://github.com/AvionBlock/VoiceCraft/releases/latest/download/VoiceCraft.Server.Linux.x64.zip
RUN unzip VoiceCraft.Server.Linux.x64.zip
RUN rm VoiceCraft.Server.Linux.x64.zip
EXPOSE 9050/tcp
EXPOSE 9050/udp
EXPOSE 9051/tcp
CMD ["./VoiceCraft.Server"]