Added Dockerfile
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -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"]
|
||||
Reference in New Issue
Block a user