Skip to content
Snippets Groups Projects
Commit 1cfb5ae5 authored by Gál Dániel's avatar Gál Dániel
Browse files

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

Changed image base to slim

See merge request !4
parents f07544cd 536495cd
No related branches found
No related tags found
1 merge request!4Changed image base to slim
Pipeline #3658 passed
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"]
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