-
Notifications
You must be signed in to change notification settings - Fork 142
/
Dockerfile
25 lines (19 loc) · 854 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:20.04
RUN apt-get update \
&& apt-get install -y python3-pip python3-dev curl sudo \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 --no-cache-dir install --upgrade pip \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash - \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs build-essential \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& sudo apt update && sudo apt install yarn
COPY ./deployment/ /deployment
COPY ./code/web-ui/neptune-chatbot/ /neptune-chatbot
ENV FRONTEND_PATH="/neptune-chatbot"
WORKDIR /deployment
RUN chmod +x run.sh
EXPOSE 3000
CMD "/deployment/run.sh"