mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
Moved all the setup of client files into a single use Docker image
This commit is contained in:
14
docker/setup.Dockerfile
Normal file
14
docker/setup.Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.10.0-slim-buster as prep
|
||||
|
||||
RUN apt update && apt install unzip sqlite3
|
||||
|
||||
WORKDIR /setup
|
||||
|
||||
# copy needed files from repo
|
||||
COPY resources/ resources/
|
||||
COPY migrations/cdserver/ migrations/cdserver
|
||||
ADD docker/*.py utils/
|
||||
|
||||
COPY docker/setup.sh /setup.sh
|
||||
|
||||
CMD [ "/setup.sh" ]
|
Reference in New Issue
Block a user