mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-13 03:33:37 +00:00
Restructure repository
* Move /common/src to /src * Move services to net.psforever package * Move /pslogin to /server
This commit is contained in:
parent
89a30ae6f6
commit
f4fd78fc5d
958 changed files with 527 additions and 725 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,4 +1,4 @@
|
|||
FROM mozilla/sbt:8u232_1.3.8 as builder
|
||||
FROM mozilla/sbt as builder
|
||||
|
||||
COPY . /PSF-LoginServer
|
||||
|
||||
|
|
@ -6,14 +6,14 @@ 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 && \
|
||||
sbt pack
|
||||
sbt server/pack
|
||||
|
||||
FROM openjdk:8u252-slim
|
||||
FROM openjdk:8-slim
|
||||
|
||||
COPY --from=builder /PSF-LoginServer/target/pack/ /usr/local
|
||||
COPY --from=builder /PSF-LoginServer/server/target/pack/ /usr/local
|
||||
|
||||
EXPOSE 51000
|
||||
EXPOSE 51001
|
||||
EXPOSE 51002
|
||||
|
||||
CMD ["ps-login"]
|
||||
CMD ["psf-server"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue