diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..440cf17eae --- /dev/null +++ b/Dockerfile @@ -0,0 +1,29 @@ +FROM mcr.microsoft.com/dotnet/sdk:6.0 + +RUN \ + apt-get update; \ + apt-get -y upgrade; \ + apt-get install -y --no-install-recommends \ + curl \ + wget \ + make \ + python3 \ + unzip \ + mono-complete + + +RUN useradd -d /home/openra -m -s /sbin/nologin openra + +WORKDIR /home/openra + +COPY . . + +RUN chown -R openra:openra . + +USER openra + +RUN make + +EXPOSE 1234 + +ENTRYPOINT ["./launch-dedicated.sh"]