15 lines
322 B
Docker
15 lines
322 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:7.0
|
|
|
|
WORKDIR /vintagestory
|
|
ADD ./entry.sh .
|
|
RUN chmod a+rx ./entry.sh
|
|
RUN chmod a+rwx .
|
|
|
|
VOLUME ["/data"]
|
|
|
|
EXPOSE 42420/tcp
|
|
EXPOSE 42420/udp
|
|
|
|
# TODO: Allow parameter customization?
|
|
# https://wiki.vintagestory.at/Special:MyLanguage/Server_startup_parameters
|
|
CMD ["/vintagestory/entry.sh"]
|