mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-06 13:40:21 +00:00
Update to Scala 2.13 & Akka 2.6.5 (#461)
* update scala to 2.13 & update dependencies * fix test * import scodec-akka * scala 2.13 fixes * Work around futures not completing when awaited within object constructor Co-authored-by: Mazo <mazo2@hotmail.com>
This commit is contained in:
parent
270485fa4d
commit
e51e970e51
12 changed files with 127 additions and 139 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -1,19 +1,16 @@
|
|||
FROM hseeberger/scala-sbt
|
||||
FROM mozilla/sbt:8u232_1.3.8
|
||||
|
||||
EXPOSE 51000
|
||||
EXPOSE 51001
|
||||
EXPOSE 51002
|
||||
|
||||
# Download Login Server and pscrypto
|
||||
RUN wget https://github.com/psforever/PSF-LoginServer/archive/master.zip && \
|
||||
unzip master.zip && rm master.zip && \
|
||||
cd PSF-LoginServer-master && \
|
||||
wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip && \
|
||||
COPY . /PSF-LoginServer
|
||||
|
||||
WORKDIR /PSF-LoginServer
|
||||
|
||||
RUN wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip && \
|
||||
unzip pscrypto-lib-1.1.zip && rm pscrypto-lib-1.1.zip
|
||||
|
||||
WORKDIR /root/PSF-LoginServer-master
|
||||
|
||||
# Download Scala Deps
|
||||
RUN sbt compile
|
||||
|
||||
# Run login server
|
||||
CMD ["sbt", "pslogin/run"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue