Move AccountManager to submodules

This commit is contained in:
Nils Bergmann 2022-01-05 17:32:30 +01:00
parent dc39acaa75
commit 72e2d24c67
No known key found for this signature in database
GPG Key ID: 5FAEC08EE1DC2DF9
3 changed files with 10 additions and 5 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "thirdparty/LUnpack"] [submodule "thirdparty/LUnpack"]
path = thirdparty/LUnpack path = thirdparty/LUnpack
url = https://github.com/Xiphoseer/LUnpack.git url = https://github.com/Xiphoseer/LUnpack.git
[submodule "thirdparty/AccountManager"]
path = thirdparty/AccountManager
url = https://github.com/DarkflameUniverse/AccountManager

View File

@ -1,13 +1,14 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM python:3.9.9-buster FROM python:3.10-alpine3.14
WORKDIR /usr/local/share/ WORKDIR /usr/local/share/AccountManager
RUN git clone https://github.com/DarkflameUniverse/AccountManager
COPY ./thirdparty/AccountManager .
WORKDIR AccountManager
ADD docker/credentials_example.py credentials.py ADD docker/credentials_example.py credentials.py
ADD docker/resources_example.py resources.py ADD docker/resources_example.py resources.py
RUN pip3 install -r requirements.txt
RUN apk add libffi-dev build-base --no-cache && pip3 install -r requirements.txt
EXPOSE 5000 EXPOSE 5000
CMD python3 app.py CMD python3 app.py

1
thirdparty/AccountManager vendored Submodule

@ -0,0 +1 @@
Subproject commit 19e2a4fe9faba8ec2e40162e0019acd711967744