Skip to content

yaayyy it builds now! #1

@svv232

Description

@svv232

``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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions