mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-28 16:32:46 +02:00
Initial Docker example
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM debian:buster
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
python3-flask python3-ldap uwsgi uwsgi-plugin-python3 && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /code
|
||||
COPY . /code/
|
||||
|
||||
EXPOSE 8080
|
||||
CMD /usr/bin/uwsgi --http-socket 0.0.0.0:8080 --master --plugin python3 --module ghostream:app --static-map /static=/code/ghostream/static
|
Reference in New Issue
Block a user