blob: 907b7ef825819016f750482c35548f62ffb6c763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
FROM ubuntu:20.04
MAINTAINER Eden Attenborough "gae19jtu@uea.ac.uk"
ENV TZ=Europe/London
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update -y
RUN apt-get install -y python3-pip
COPY . /app
RUN touch /.docker && touch /app/.docker
WORKDIR /app
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3"]
CMD ["src/app.py", "--production"]
|