Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Feb 5, 2024
1 parent 863a134 commit 3bdf312
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM debian:buster
FROM debian:bookworm-slim

RUN apt update
RUN apt -y --no-install-recommends install g++ uwsgi uwsgi-plugin-python3 python3 python3-pip virtualenv make python3-psycopg2 python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev
RUN apt -y --no-install-recommends install g++ uwsgi uwsgi-plugin-python3 python3 python3-pip virtualenv make python3-psycopg2 python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev python3-virtualenv pipenv

RUN usermod -u 2012 -g 33 -d /opt/karma www-data

WORKDIR /opt/karma
ADD . /opt/karma

RUN pip3 install pipenv
ENV PIPENV_VENV_IN_PROJECT=1
RUN pipenv sync
RUN pipenv install psycopg2-binary django-ldapdb django-auth-ldap uwsgi requests sentry-sdk coreapi
Expand Down

0 comments on commit 3bdf312

Please sign in to comment.