changed image base

This commit is contained in:
vabene1111 2019-12-08 17:09:08 +01:00
parent 79679c105a
commit d8efd16763

View File

@ -1,32 +1,24 @@
FROM ubuntu:18.04
FROM alpine
# Project Files and Settings
RUN mkdir /Recipes RUN mkdir /Recipes
WORKDIR /Recipes WORKDIR /Recipes
ADD . /Recipes/ ADD . /Recipes/
RUN apk update RUN apt-get update
RUN apk upgrade RUN apt-get -y upgrade
RUN apk --no-cache add \ RUN apt-get install -y \
python3 \ python3 \
python3-dev \ python3-pip \
postgresql-client \ postgresql-client \
postgresql-dev \ gettext
build-base \
gettext \
libgcrypt-dev libressl-dev curl-dev \
libxml2-dev libxslt-dev python-dev
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
RUN apk del -r python3-dev RUN apt-get autoremove -y
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
# Server EXPOSE 8080
EXPOSE 8080