forked from mrhid6/SatisfactoryServerManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (21 loc) · 763 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# syntax=docker/dockerfile:1
FROM ubuntu:latest
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get -qq update -y && apt-get -qq upgrade -y
RUN apt-get -qq install binutils software-properties-common libcap2-bin apt-utils wget curl htop dnsmasq -y
RUN add-apt-repository multiverse
RUN dpkg --add-architecture i386
RUN apt-get -qq install lib32gcc-s1 -y
RUN apt-get -qq update -y
RUN useradd -m -u 9999 -s /bin/bash ssm
RUN mkdir /opt/SSM
VOLUME /opt/SSM
COPY release-builds/linux/* /opt/SSM/
RUN chown -R ssm:ssm /opt/SSM
RUN mkdir -p /home/ssm/.SatisfactoryServerManager && mkdir -p /home/ssm/.config/Epic/FactoryGame
RUN chown -R ssm:ssm /home/ssm
COPY entry.sh /entry.sh
RUN chmod 755 /entry.sh
RUN ls -l /
EXPOSE 3000/tcp
ENTRYPOINT [ "/entry.sh" ]