fix: clean docker file

This commit is contained in:
Swann 2021-07-30 13:47:31 +02:00
parent 1671422143
commit d7e25b1192

View File

@ -1,7 +1,7 @@
# Download base image debian jessie # Download base image debian jessie
FROM python:slim FROM python:slim
ARG replication_version=0.1.13 ARG replication_version=0.9.1
ARG version=0.1.1 ARG version=0.1.1
# Infos # Infos
@ -11,8 +11,7 @@ LABEL description="Blender multi-user addon \
dedicated server image." dedicated server image."
# Argument # Argument
ENV admin_password='admin' ENV password='admin'
ENV server_password=''
ENV port=5555 ENV port=5555
ENV timeout=5000 ENV timeout=5000
ENV log_level=DEBUG ENV log_level=DEBUG
@ -23,4 +22,4 @@ RUN pip install replication==$replication_version
# Run the server with parameters # Run the server with parameters
ENTRYPOINT ["/bin/sh", "-c"] ENTRYPOINT ["/bin/sh", "-c"]
CMD ["python3 -m replication.server -apwd ${admin_password} -spwd ${server_password}} -p ${port} -t ${timeout} -l ${log_level} -lf ${log_file}"] CMD ["python3 -m replication.server -apwd ${password} -p ${port} -t ${timeout} -l ${log_level} -lf ${log_file}"]