enemy7 commited on
Commit
bfd7ad1
·
1 Parent(s): 27b4783

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -15
Dockerfile CHANGED
@@ -1,20 +1,19 @@
1
- # Use the base Ubuntu 18.04 image
2
- FROM ubuntu:18.04
3
 
4
- # Set the working directory
5
- WORKDIR /home/cs16server
6
 
7
- # Update the package repositories and install dependencies
8
- RUN apt-get update && \
9
- apt-get install -y wget unzip
10
 
11
- # Download and install Counter-Strike 1.6 Dedicated Server
12
- RUN wget https://www.csdownload.lt/dl/CS16.zip && \
13
- unzip CS16.zip && \
14
- rm CS16.zip
 
 
 
 
15
 
16
- # Expose the necessary ports
17
- EXPOSE 27015/udp
18
 
19
- # Set the entry point to start the server
20
- ENTRYPOINT ["./hlds_run", "-game", "cstrike", "+map", "de_dust2", "+maxplayers", "16"]
 
1
+ # # Use the base Ubuntu 18.04 image
2
+ FROM ubuntu:lastest
3
 
4
+ # # Set the working directory
5
+ # WORKDIR /home/cs16server
6
 
7
+ # # Update the package repositories and install dependencies
8
+ RUN apt-get update && apt-get install -y wget unzip
 
9
 
10
+ # # Download and install Counter-Strike 1.6 Dedicated Server
11
+ RUN wget https://factorio.com/get-download/1.1.87/headless/linux64 && unzip factorio_headless_x64_1.1.87.tar.xz && rm factorio_headless_x64_1.1.87.tar.xz
12
+
13
+ # # Expose the necessary ports
14
+ #EXPOSE 27015/udp
15
+
16
+ # # Set the entry point to start the server
17
+ ENTRYPOINT ["./factorio/bin/x64/factorio", "--start-server", "dd.zip", "-port", "7860"]
18
 
 
 
19