web interface

This commit is contained in:
Robin Appelman 2026-02-02 20:18:15 +01:00
commit 589155a016
3 changed files with 15 additions and 4 deletions

View file

@ -1,11 +1,18 @@
from spiretf/docker-comp-server
maintainer Robin Appelman <robin@icewind.nl>
FROM golang AS build-stage
RUN git clone https://github.com/ddeityy/exposed-nipple && \
cd exposed-nipple && \
git checkout 2524164364adc89e37d1d4addac04edae3d39482
RUN cd exposed-nipple && go build -o nipple -o /exposed-nipple ./cmd/main.go
FROM spiretf/docker-comp-server
USER root
ADD ./server.cfg $SERVER/tf2/tf/cfg/server.cfg
RUN chown tf2:tf2 $SERVER/tf2/tf/cfg/server.cfg
USER $USER
COPY --from=build-stage /exposed-nipple /exposed-nipple
RUN mkdir -p internal/config
ADD ./tf.sh $SERVER/tf.sh
ENTRYPOINT ["./tf.sh"]