mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Some more docs
This commit is contained in:
parent
1729611529
commit
329bb28d9e
1 changed files with 5 additions and 4 deletions
|
|
@ -30,19 +30,20 @@ ADD . /usr/src/evennia
|
|||
# install dependencies
|
||||
RUN pip install -e /usr/src/evennia --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org
|
||||
|
||||
# add the game source during game builds
|
||||
# add the game source when rebuilding a new docker image from inside
|
||||
# a game dir
|
||||
ONBUILD ADD . /usr/src/game
|
||||
|
||||
# make the game source hierarchy persistent with a named volume.
|
||||
# during development this is typically superceded by directives in
|
||||
# docker-compose.yml or the CLI to mount a local directory.
|
||||
# mount on-disk game location here when using the container
|
||||
# to just get an evennia environment.
|
||||
VOLUME /usr/src/game
|
||||
|
||||
# set the working directory
|
||||
WORKDIR /usr/src/game
|
||||
|
||||
# set bash prompt
|
||||
ENV PS1 "evennia docker $ "
|
||||
ENV PS1 "evennia|docker \w $ "
|
||||
|
||||
# startup a shell when we start the container
|
||||
ENTRYPOINT ["bash"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue