mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update docker file
This commit is contained in:
parent
d3be746969
commit
86e2722982
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -28,17 +28,17 @@
|
|||
# as a base for creating your own custom containerized Evennia game. For more
|
||||
# info, see https://evennia.com/docs/latest/Setup/Installation-Docker
|
||||
#
|
||||
FROM python:3.10-alpine
|
||||
FROM python:3.11-alpine
|
||||
|
||||
LABEL maintainer="www.evennia.com"
|
||||
LABEL maintainer="https://www.evennia.com"
|
||||
|
||||
# install compilation environment
|
||||
RUN apk update && apk add bash gcc jpeg-dev musl-dev procps \
|
||||
libffi-dev openssl-dev zlib-dev gettext
|
||||
|
||||
# add the files required for pip installation
|
||||
COPY ./pyproject.toml /usr/src/evennia/
|
||||
COPY ./setup.py /usr/src/evennia/
|
||||
COPY ./requirements.txt /usr/src/evennia/
|
||||
COPY ./evennia/VERSION.txt /usr/src/evennia/evennia/
|
||||
COPY ./bin /usr/src/evennia/bin/
|
||||
|
||||
|
|
@ -70,8 +70,8 @@ ENV PS1 "evennia|docker \w $ "
|
|||
# -D - do not set a password
|
||||
# -H - do not create a home directory
|
||||
# -s /bin/false - set login shell to /bin/false
|
||||
RUN adduser -D -H -s /bin/false evennia
|
||||
USER evennia
|
||||
# RUN adduser -D -H -s /bin/false evennia
|
||||
# USER evennia
|
||||
|
||||
# startup a shell when we start the container
|
||||
ENTRYPOINT ["/usr/src/evennia/bin/unix/evennia-docker-start.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue