Skip to content

Commit

Permalink
Dockerfile: Switch to Ubuntu
Browse files Browse the repository at this point in the history
Debian testing is going to break
  • Loading branch information
bbhtt authored and razzeee committed Nov 8, 2024
1 parent 316fcf9 commit 78e72f9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM debian:testing AS builder
FROM ubuntu:latest AS builder

RUN apt-get update && apt-get install -y --no-install-recommends software-properties-common \
&& add-apt-repository ppa:flatpak/stable

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand All @@ -14,12 +17,15 @@ RUN /root/.local/bin/poetry export -f requirements.txt --output requirements.txt
python -m venv /venv && \
/venv/bin/python -m pip install --no-cache-dir -r requirements.txt

FROM debian:testing-slim
FROM ubuntu:latest
ARG SENTRY_RELEASE
ENV PATH="/venv/bin:$PATH"

EXPOSE 8000

RUN apt-get update && apt-get install -y --no-install-recommends software-properties-common \
&& add-apt-repository ppa:flatpak/stable

RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 python-is-python3 python3-venv ca-certificates libcairo2 libpq5 \
Expand Down

0 comments on commit 78e72f9

Please sign in to comment.