mirror of
https://codeberg.org/spire/docker-comp-server.git
synced 2026-06-03 10:04:11 +02:00
make dockerfile a bit smaller
This commit is contained in:
parent
93593a33be
commit
bb70a13f46
1 changed files with 6 additions and 10 deletions
16
Dockerfile
16
Dockerfile
|
|
@ -2,18 +2,14 @@ from spiretf/docker-tf2-server
|
||||||
maintainer Robin Appelman <robin@icewind.nl>
|
maintainer Robin Appelman <robin@icewind.nl>
|
||||||
|
|
||||||
ADD ./maps.sh ./sourcemod.sh ./plugins.sh ./configs.sh $SERVER/
|
ADD ./maps.sh ./sourcemod.sh ./plugins.sh ./configs.sh $SERVER/
|
||||||
RUN $SERVER/maps.sh
|
RUN $SERVER/maps.sh \
|
||||||
RUN $SERVER/sourcemod.sh
|
&& $SERVER/sourcemod.sh \
|
||||||
RUN $SERVER/plugins.sh
|
&& $SERVER/plugins.sh \
|
||||||
RUN $SERVER/configs.sh
|
&& $SERVER/configs.sh
|
||||||
|
|
||||||
EXPOSE 27015/udp
|
EXPOSE 27015/udp 27015/tcp 27021/tcp 27020/udp
|
||||||
EXPOSE 27015/tcp
|
|
||||||
|
|
||||||
WORKDIR /home/$USER/hlserver
|
WORKDIR /home/$USER/hlserver
|
||||||
|
|
||||||
EXPOSE 27021/tcp
|
|
||||||
EXPOSE 27020/udp
|
|
||||||
|
|
||||||
ENTRYPOINT ["./tf.sh"]
|
ENTRYPOINT ["./tf.sh"]
|
||||||
CMD ["+sv_pure", "1", "+mapcycle", "mapcycle_quickplay_payload.txt", "+map", "pl_badwater", "+maxplayers", "24"]
|
CMD ["+sv_pure", "1", "+mapcycle", "mapcycle_quickplay_payload.txt", "+map", "cp_badlands", "+maxplayers", "24"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue