Commit 1cfb5ae5 authored by den's avatar den
Browse files

Merge branch 'fix/alpine-to-slim' into 'master'

Changed image base to slim

See merge request !4
parents f07544cd 536495cd
Pipeline #3658 passed with stage
in 2 minutes and 11 seconds
FROM python:3.6-alpine
FROM python:3.8-slim
ENV PYTHONUNBUFFERED=1
ENV CONFIG_FILE=/code/config.yaml
ENV CONFIG_FILE=/backend/config.yaml
ENV PIP_NO_CACHE_DIR=false
RUN apk add gcc python3-dev musl-dev postgresql-dev zlib-dev jpeg-dev libpq &&\
pip install pipenv
RUN pip install pipenv
WORKDIR /code
WORKDIR /backend
COPY Pipfile Pipfile.lock /code/
COPY Pipfile Pipfile.lock /backend/
RUN pipenv install --system --dev
COPY . /code/
COPY . /backend/
ENTRYPOINT ["sh", "docker-entrypoint.sh"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment