24 lines
341 B
Docker
24 lines
341 B
Docker
FROM ubuntu:18.04
|
|
|
|
RUN mkdir /Recipes
|
|
WORKDIR /Recipes
|
|
|
|
ADD . /Recipes/
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y upgrade
|
|
RUN apt-get install -y \
|
|
python3 \
|
|
python3-pip \
|
|
postgresql-client \
|
|
gettext
|
|
|
|
RUN pip3 install --upgrade pip
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
RUN apt-get autoremove -y
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
EXPOSE 8080 |