changed dockerfile

This commit is contained in:
ACoolName 2025-03-16 00:58:16 +02:00
parent dee532927b
commit d1f1d4e7c9

View File

@ -9,8 +9,7 @@ WORKDIR /opt/ServerManager
COPY --from=0 /src/ServerManager /opt/ServerManager/ServerManager
ENV GIN_MODE=release
ENV CONFIG_PATH="config.json"
ENV MONGO_URL="mongodb://mongo:27017"
ENV CONFIG_PATH="config.yaml"
EXPOSE 8080/tcp
CMD [ "/opt/ServerManager/ServerManager" ]
CMD [ "/opt/ServerManager/ServerManager" ]