Fix setting workdir too late

This commit is contained in:
Philipp 2026-07-23 21:35:51 +02:00 • committed by Forgejo
commit 59448b914c
Signed by: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -208,6 +208,7 @@ COPY misc/afk_manager.cfg ${SERVER_DIR}/tf/cfg/sourcemod/
COPY misc/custom_whitelist_11769.txt ${SERVER_DIR}/tf/cfg/
COPY misc/afk_manager.phrases.txt ${SERVER_DIR}/tf/addons/sourcemod/translations/
WORKDIR ${SERVER_DIR}
COPY --chmod=755 utils/entrypoint.sh .
COPY utils/healthcheck.sh .
@ -221,8 +222,6 @@ ENV STV_TITLE="A Team Fortress 2 server Source TV"
ENV STV_PASSWORD=""
ENV DOWNLOAD_URL="https://fastdl.serveme.tf/"
WORKDIR ${SERVER_DIR}
ENTRYPOINT ["./entrypoint.sh"]
CMD ["+sv_pure","2","+map","cp_snakewater_final1","+maxplayers","8"]