Skip to content
Snippets Groups Projects
Commit 1beb253a authored by Chris Hines's avatar Chris Hines
Browse files

dockerfile to build both parts of the backend

parent e2e24807
No related branches found
No related tags found
No related merge requests found
FROM ubuntu
WORKDIR /opt/strudel2/tes/src
COPY . /opt/strudel2/tes/src
WORKDIR /opt/strudel2/src
COPY . /opt/strudel2/src
RUN apt update
RUN apt install -y python3 gcc python3-pip
RUN cd TES
RUN pip3 install -r requirements.txt
RUN python3 setup.py install
RUN cd ../TWS
RUN pip3 install -r requirements.txt
RUN python3 setup.py install
EXPOSE 8080
EXPOSE 8090
CMD ["uwsgi", \
"--socket", "0.0.0.0:8080", \
"--buffer-size","65536", \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment