enemy7 commited on
Commit
f6e4b5e
·
1 Parent(s): 95e9f64

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -24,7 +24,7 @@
24
 
25
  FROM ubuntu:latest
26
 
27
- RUN apt-get update && apt-get install wget xz-utils tree -y
28
 
29
 
30
  COPY dd.zip .
@@ -37,5 +37,5 @@ RUN chmod 777 /factorio -R
37
  RUN "pwd"
38
  RUN "ls"
39
  WORKDIR /
40
- CMD ["./factorio/bin/x64/factorio","--start-server" ,"dd.zip" , "--port" , "7860" ]
41
 
 
24
 
25
  FROM ubuntu:latest
26
 
27
+ RUN apt-get update && apt-get install wget xz-utils tree -screen y
28
 
29
 
30
  COPY dd.zip .
 
37
  RUN "pwd"
38
  RUN "ls"
39
  WORKDIR /
40
+ CMD ["screen" ,"-dmS", "my_session", "./factorio/bin/x64/factorio","--start-server" ,"dd.zip" , "--port" , "7860" ]
41