Update Dockerfile
Browse files- Dockerfile +12 -7
Dockerfile
CHANGED
|
@@ -23,14 +23,19 @@
|
|
| 23 |
|
| 24 |
|
| 25 |
FROM ubuntu:latest
|
| 26 |
-
RUN apt-get update && apt-get install -y python3
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
-
COPY . /app
|
| 32 |
-
# RUN chmod 777 / -R
|
| 33 |
-
RUN chmod 777 /app -R
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
|
|
|
| 23 |
|
| 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 .
|
| 31 |
+
|
| 32 |
+
RUN wget -O factorio_headless_x64_1.1.87.tar.xz https://factorio.com/get-download/1.1.87/headless/linux64
|
| 33 |
+
RUN tar -xJf factorio_headless_x64_1.1.87.tar.xz
|
| 34 |
+
|
| 35 |
+
RUN chmod 777 /factorio -R
|
| 36 |
+
|
| 37 |
+
RUN "pwd"
|
| 38 |
+
RUN "ls"
|
| 39 |
+
WORKDIR /
|
| 40 |
+
CMD ["./factorio/bin/x64/factorio","--start-server" ,"dd.zip" , "--port" , "7860" ]
|
| 41 |
|