-
Notifications
You must be signed in to change notification settings - Fork 0
Description
``FROM ubuntu:16.04
MAINTAINER pa_ssion/sai
LABEL Description="Computer Networking Messenger Application" VERSION="0.5"
RUN apt-get update --fix-missing && apt-get install -y
software-properties-common
curl
apt-utils
python3-venv python3-pip python3-dev &&
apt-get upgrade -y && apt-get clean &&
rm -rf /var/lib/apt/lists/* &&
add-apt-repository -y ppa:certbot/certbot &&
curl -sL https://deb.nodesource.com/setup_9.x | bash - &&
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&
apt-get update && apt-get install -y
nginx gunicorn3
nodejs yarn
COPY requirements.txt /tmp/
RUN cd /tmp/ && pip3 install -r requirements.txt
COPY database/ /opt/database
COPY components/ /opt/components
RUN cd /opt/components && yarn && yarn watch
COPY sockets/ /opt/sockets
COPY website/ /opt/website
COPY serve.py/ /opt/
ENTRYPOINT ["/bin/bash"]
#ENTRYPOINT ["python3", "/opt/serve.py"] has issues with socketio