FROM ubuntu:20.04

RUN apt-get update && \
    apt-get install -y wget bash zip rsync vim 

RUN apt-get update
RUN apt-get -y install curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_15.x  | bash -
RUN apt-get -y install nodejs

WORKDIR /usr/src/app

COPY . /usr/src/app
RUN cd /usr/src/app
RUN npm install

EXPOSE 3001
EXPOSE 3002
CMD ["node", "/usr/src/app/server.js"]

